mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-04-04 17:57:03 +00:00
Fix bug in searching for gr-iio when CMake is re-run several times (fixes #491)
This commit is contained in:
parent
13a83092da
commit
09b4c8f7a3
@ -2901,6 +2901,10 @@ if(GNURADIO_IIO_FOUND)
|
||||
set(GR_IIO_INCLUDE_HAS_GNURADIO TRUE)
|
||||
set(GNURADIO_API_IIO TRUE)
|
||||
else()
|
||||
# Force to always search for gr-iio
|
||||
unset(GRIIO_FOUND CACHE)
|
||||
unset(IIO_INCLUDE_DIRS CACHE)
|
||||
unset(IIO_LIBRARIES CACHE)
|
||||
find_package(GRIIO)
|
||||
set_package_properties(GRIIO PROPERTIES
|
||||
PURPOSE "Used for communication with PlutoSDR and FMCOMMS devices."
|
||||
|
Loading…
x
Reference in New Issue
Block a user