1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00

Enable gperftools in position_test, if found and enabled with ENABLE_GPERFTOOLS

This commit is contained in:
Carles Fernandez 2020-07-06 10:25:54 +02:00
parent aca0330325
commit 999ee6c623
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -733,6 +733,14 @@ if(ENABLE_SYSTEM_TESTING)
Gnuradio::analog Matio::matio Volkgnsssdr::volkgnsssdr
)
add_system_test(position_test)
if(ENABLE_GPERFTOOLS)
if(GPERFTOOLS_FOUND)
target_link_libraries(position_test
PRIVATE
Gperftools::gperftools
)
endif()
endif()
if(NOT GNSSSIMULATOR_FOUND OR ENABLE_GNSS_SIM_INSTALL)
if(NOT CMAKE_CROSSCOMPILING)
add_dependencies(position_test gnss-sim)