mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-12-18 22:38:05 +00:00
Allow building Ad936x_Custom_Signal_Source when gnuradio-iio is not available
This commit is contained in:
@@ -259,7 +259,7 @@ if(LIBIIO_FOUND)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(ENABLE_AD9361 OR ENABLE_FMCOMMS2 OR ENABLE_PLUTOSDR)
|
||||
if(ENABLE_AD9361 OR ENABLE_FMCOMMS2 OR ENABLE_PLUTOSDR OR ENABLE_AD936X_SDR)
|
||||
if(LIBAD9361_VERSION)
|
||||
if(LIBAD9361_VERSION VERSION_GREATER 0.1)
|
||||
target_compile_definitions(signal_source_adapters
|
||||
|
||||
@@ -113,7 +113,7 @@ if(GNURADIO_USES_STD_POINTERS)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(ENABLE_FMCOMMS2 OR ENABLE_AD9361 OR ENABLE_PLUTOSDR)
|
||||
if(ENABLE_FMCOMMS2 OR ENABLE_AD9361 OR ENABLE_PLUTOSDR OR ENABLE_AD936X_SDR)
|
||||
target_link_libraries(signal_source_libs
|
||||
PUBLIC
|
||||
Iio::iio
|
||||
|
||||
Reference in New Issue
Block a user