mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 12:10:34 +00:00
Enable gperftools in position_test, if found and enabled with ENABLE_GPERFTOOLS
This commit is contained in:
parent
aca0330325
commit
999ee6c623
@ -733,6 +733,14 @@ if(ENABLE_SYSTEM_TESTING)
|
|||||||
Gnuradio::analog Matio::matio Volkgnsssdr::volkgnsssdr
|
Gnuradio::analog Matio::matio Volkgnsssdr::volkgnsssdr
|
||||||
)
|
)
|
||||||
add_system_test(position_test)
|
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 GNSSSIMULATOR_FOUND OR ENABLE_GNSS_SIM_INSTALL)
|
||||||
if(NOT CMAKE_CROSSCOMPILING)
|
if(NOT CMAKE_CROSSCOMPILING)
|
||||||
add_dependencies(position_test gnss-sim)
|
add_dependencies(position_test gnss-sim)
|
||||||
|
Loading…
Reference in New Issue
Block a user