mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-09-02 02:48:00 +00:00
Fix building of benchmarks in some environments
This commit is contained in:
@@ -104,10 +104,15 @@ macro(add_benchmark)
|
||||
)
|
||||
endmacro()
|
||||
|
||||
set(EXTRA_BENCHMARK_DEPENDENCIES "")
|
||||
if(ENABLE_GLOG_AND_GFLAGS)
|
||||
set(EXTRA_BENCHMARK_DEPENDENCIES "Gflags::gflags;Glog::glog")
|
||||
endif()
|
||||
|
||||
add_benchmark(benchmark_copy)
|
||||
add_benchmark(benchmark_preamble core_system_parameters)
|
||||
add_benchmark(benchmark_detector core_system_parameters)
|
||||
add_benchmark(benchmark_reed_solomon core_system_parameters)
|
||||
add_benchmark(benchmark_preamble core_system_parameters ${EXTRA_BENCHMARK_DEPENDENCIES})
|
||||
add_benchmark(benchmark_detector core_system_parameters ${EXTRA_BENCHMARK_DEPENDENCIES})
|
||||
add_benchmark(benchmark_reed_solomon core_system_parameters ${EXTRA_BENCHMARK_DEPENDENCIES})
|
||||
add_benchmark(benchmark_atan2 Gnuradio::runtime)
|
||||
|
||||
if(has_std_plus_void)
|
||||
|
Reference in New Issue
Block a user