1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-10-31 07:13:03 +00:00

Fix for new API for gr-iio component in GNU Radio master

This commit is contained in:
Carles Fernandez
2021-10-23 14:11:20 +02:00
parent 69c4f9f7fc
commit 2f7263d7a3
6 changed files with 39 additions and 3 deletions

View File

@@ -369,6 +369,11 @@ if(GNURADIO_VERSION VERSION_GREATER 3.8.99)
INTERFACE_LINK_LIBRARIES "${GNURADIO_LIBRARY}"
)
endif()
# check templatized API
if(NOT EXISTS "${GNURADIO_IIO_INCLUDE_DIRS}/gnuradio/iio/pluto_source.h")
set(GR_IIO_TEMPLATIZED_API TRUE)
endif()
endif()
endif()