From 5163fcd96babb48c6147c98b5a683393e8a1c9a5 Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 9 May 2017 01:15:58 +0200 Subject: [PATCH] Removed LimeSDR support from Debian build if LimeSuite is not found --- plugins/samplesink/CMakeLists.txt | 4 +++- plugins/samplesource/CMakeLists.txt | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/samplesink/CMakeLists.txt b/plugins/samplesink/CMakeLists.txt index e8875d6b1..58a4404c2 100644 --- a/plugins/samplesink/CMakeLists.txt +++ b/plugins/samplesink/CMakeLists.txt @@ -20,7 +20,9 @@ endif(LIBUSB_FOUND AND LIMESUITE_FOUND) if (BUILD_DEBIAN) add_subdirectory(bladerfoutput) add_subdirectory(hackrfoutput) - add_subdirectory(limesdroutput) + if (LIMESUITE_FOUND) + add_subdirectory(limesdroutput) + endif (LIMESUITE_FOUND) endif (BUILD_DEBIAN) add_subdirectory(filesink) diff --git a/plugins/samplesource/CMakeLists.txt b/plugins/samplesource/CMakeLists.txt index fd11148a9..2dad0a473 100644 --- a/plugins/samplesource/CMakeLists.txt +++ b/plugins/samplesource/CMakeLists.txt @@ -75,7 +75,9 @@ if (BUILD_DEBIAN) add_subdirectory(rtlsdr) add_subdirectory(bladerfinput) add_subdirectory(sdrplay) - add_subdirectory(limesdrinput) + if (LIMESUITE_FOUND) + add_subdirectory(limesdrinput) + endif (LIMESUITE_FOUND) endif (BUILD_DEBIAN) add_subdirectory(filesource)