1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

LimeSDR device support: removed from Debian build if LimeSuite not found

This commit is contained in:
f4exb 2017-05-09 01:34:01 +02:00
parent 101de1bdee
commit 274d7cb2ee

View File

@ -1,11 +1,14 @@
project(devices)
find_package(LibUSB)
find_package(LimeSuite)
if (BUILD_DEBIAN)
add_subdirectory(bladerf)
add_subdirectory(hackrf)
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)