mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-29 02:14:51 +00:00
Fix building with new version of GNU Radio 3.7.13.5 maint
This commit is contained in:
parent
52ae97ed4e
commit
f5f255b28d
@ -62,7 +62,7 @@ target_include_directories(input_filter_adapters
|
||||
${CMAKE_SOURCE_DIR}/src/core/interfaces
|
||||
)
|
||||
|
||||
if(${PC_GNURADIO_RUNTIME_VERSION} VERSION_GREATER "3.7.13.4")
|
||||
if(${PC_GNURADIO_RUNTIME_VERSION} VERSION_GREATER "3.7.20")
|
||||
target_compile_definitions(input_filter_adapters PUBLIC -DGR_GREATER_38=1)
|
||||
endif()
|
||||
|
||||
|
@ -52,7 +52,7 @@ target_include_directories(resampler_adapters
|
||||
${CMAKE_SOURCE_DIR}/src/core/interfaces
|
||||
)
|
||||
|
||||
if(${PC_GNURADIO_RUNTIME_VERSION} VERSION_GREATER "3.7.13.4")
|
||||
if(${PC_GNURADIO_RUNTIME_VERSION} VERSION_GREATER "3.7.20")
|
||||
target_compile_definitions(resampler_adapters PUBLIC -DGR_GREATER_38=1)
|
||||
endif()
|
||||
|
||||
|
@ -84,7 +84,7 @@ if(PC_GNURADIO_RUNTIME_VERSION VERSION_GREATER 3.7.3)
|
||||
target_compile_definitions(core_receiver PRIVATE -DMODERN_GNURADIO=1)
|
||||
endif()
|
||||
|
||||
if(${PC_GNURADIO_RUNTIME_VERSION} VERSION_GREATER "3.7.13.4")
|
||||
if(${PC_GNURADIO_RUNTIME_VERSION} VERSION_GREATER "3.7.20")
|
||||
target_compile_definitions(core_receiver PRIVATE -DGR_GREATER_38=1)
|
||||
endif()
|
||||
|
||||
|
@ -141,7 +141,7 @@ endif()
|
||||
# Definitions
|
||||
################################################################################
|
||||
|
||||
if(${PC_GNURADIO_RUNTIME_VERSION} VERSION_GREATER "3.7.13.4")
|
||||
if(${PC_GNURADIO_RUNTIME_VERSION} VERSION_GREATER "3.7.20")
|
||||
add_definitions(-DGR_GREATER_38=1)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user