2016-12-30 15:13:28 +00:00
|
|
|
project(devices)
|
|
|
|
|
|
|
|
find_package(LibUSB)
|
|
|
|
|
|
|
|
find_package(LibBLADERF)
|
|
|
|
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
add_subdirectory(bladerf)
|
|
|
|
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
|
2017-01-07 10:24:09 +00:00
|
|
|
find_package(LibHACKRF)
|
|
|
|
if(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
|
|
|
add_subdirectory(hackrf)
|
|
|
|
endif(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
|
|
|
|
2016-12-30 15:13:28 +00:00
|
|
|
if (BUILD_DEBIAN)
|
|
|
|
add_subdirectory(bladerf)
|
2017-01-07 10:24:09 +00:00
|
|
|
add_subdirectory(hackrf)
|
2016-12-30 15:13:28 +00:00
|
|
|
endif (BUILD_DEBIAN)
|
|
|
|
|