From 274d7cb2eef210a6cca4f24da78fdb3272e99114 Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 9 May 2017 01:34:01 +0200 Subject: [PATCH] LimeSDR device support: removed from Debian build if LimeSuite not found --- devices/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/devices/CMakeLists.txt b/devices/CMakeLists.txt index 0a0e7bd02..af8cc8b16 100644 --- a/devices/CMakeLists.txt +++ b/devices/CMakeLists.txt @@ -1,11 +1,14 @@ project(devices) find_package(LibUSB) +find_package(LimeSuite) if (BUILD_DEBIAN) add_subdirectory(bladerf) add_subdirectory(hackrf) - add_subdirectory(limesdr) + if(LIMESUITE_FOUND) + add_subdirectory(limesdr) + endif(LIMESUITE_FOUND) else(BUILD_DEBIAN) find_package(LibBLADERF) if(LIBUSB_FOUND AND LIBBLADERF_FOUND) @@ -17,7 +20,6 @@ else(BUILD_DEBIAN) add_subdirectory(hackrf) endif(LIBUSB_FOUND AND LIBHACKRF_FOUND) - find_package(LimeSuite) if(LIBUSB_FOUND AND LIMESUITE_FOUND) add_subdirectory(limesdr) endif(LIBUSB_FOUND AND LIMESUITE_FOUND)