1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-16 13:21:50 -05:00
sdrangel/devices/CMakeLists.txt

25 lines
566 B
CMake
Raw Normal View History

project(devices)
find_package(LibUSB)
find_package(LibBLADERF)
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
add_subdirectory(bladerf)
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
find_package(LibHACKRF)
if(LIBUSB_FOUND AND LIBHACKRF_FOUND)
add_subdirectory(hackrf)
endif(LIBUSB_FOUND AND LIBHACKRF_FOUND)
2017-04-11 12:13:40 -04:00
find_package(LimeSuite)
2017-04-11 16:26:42 -04:00
if(LIBUSB_FOUND AND LIMESUITE_FOUND)
2017-04-11 12:13:40 -04:00
add_subdirectory(limesdr)
2017-04-11 16:26:42 -04:00
endif(LIBUSB_FOUND AND LIMESUITE_FOUND)
2017-04-11 12:13:40 -04:00
if (BUILD_DEBIAN)
add_subdirectory(bladerf)
add_subdirectory(hackrf)
2017-04-11 16:26:42 -04:00
add_subdirectory(limesdr)
endif (BUILD_DEBIAN)