mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-14 14:17:11 +00:00
Fix build with latest GNU Radio master (towards 3.8)
This commit is contained in:
@@ -35,7 +35,11 @@
|
||||
#include "gnss_block_interface.h"
|
||||
#include "pulse_blanking_cc.h"
|
||||
#include <gnuradio/blocks/file_sink.h>
|
||||
#ifdef GR_GREATER_38
|
||||
#include <gnuradio/filter/freq_xlating_fir_filter.h>
|
||||
#else
|
||||
#include <gnuradio/filter/freq_xlating_fir_filter_ccf.h>
|
||||
#endif
|
||||
#include <string>
|
||||
|
||||
class ConfigurationInterface;
|
||||
|
||||
@@ -32,9 +32,9 @@ include_directories(
|
||||
)
|
||||
|
||||
|
||||
if(${PC_GNURADIO_RUNTIME_VERSION} VERSION_GREATER "3.7.15" )
|
||||
if(${PC_GNURADIO_RUNTIME_VERSION} VERSION_GREATER "3.7.13.4" )
|
||||
add_definitions( -DGR_GREATER_38=1 )
|
||||
endif(${PC_GNURADIO_RUNTIME_VERSION} VERSION_GREATER "3.7.15" )
|
||||
endif(${PC_GNURADIO_RUNTIME_VERSION} VERSION_GREATER "3.7.13.4" )
|
||||
|
||||
|
||||
file(GLOB RESAMPLER_ADAPTER_HEADERS "*.h")
|
||||
|
||||
Reference in New Issue
Block a user