1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-10-30 23:03:05 +00:00

Improving detection of GNU Radio version so modules requiring >=3.7.4

will be built even without the presence of pkgconfig
This commit is contained in:
Carles Fernandez
2015-07-19 11:18:20 +02:00
parent 31ef3c7910
commit 334caa329e
3 changed files with 20 additions and 5 deletions

View File

@@ -139,9 +139,9 @@ set(SIGNAL_SOURCE_ADAPTER_SOURCES file_signal_source.cc
${OPT_DRIVER_SOURCES}
)
if(PC_GNURADIO_RUNTIME_VERSION VERSION_GREATER 3.7.4)
if(PC_GNURADIO_RUNTIME_VERSION VERSION_GREATER 3.7.3)
set(SIGNAL_SOURCE_ADAPTER_SOURCES ${SIGNAL_SOURCE_ADAPTER_SOURCES} two_bit_cpx_file_signal_source.cc )
endif(PC_GNURADIO_RUNTIME_VERSION VERSION_GREATER 3.7.4)
endif(PC_GNURADIO_RUNTIME_VERSION VERSION_GREATER 3.7.3)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}