From d7eaffaae07aca3feef1b36f5556b89687fdd052 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 27 Jul 2022 13:34:26 +0200 Subject: [PATCH] Report if gr-iio is not found --- cmake/Modules/FindGNURADIO.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/Modules/FindGNURADIO.cmake b/cmake/Modules/FindGNURADIO.cmake index 93e6082cd..3df296cc5 100644 --- a/cmake/Modules/FindGNURADIO.cmake +++ b/cmake/Modules/FindGNURADIO.cmake @@ -346,6 +346,8 @@ if(GNURADIO_VERSION VERSION_GREATER 3.8.99) if(GNURADIO_IIO_LIBRARIES) message(STATUS " * INCLUDES=${GNURADIO_IIO_INCLUDE_DIRS}") message(STATUS " * LIBS=${GNURADIO_IIO_LIBRARIES}") + else() + message(STATUS " * IIO GNU Radio Module not found.") endif() if(GNURADIO_IIO_LIBRARIES AND GNURADIO_IIO_INCLUDE_DIRS) set(GNURADIO_IIO_FOUND TRUE)