2016-10-19 16:32:14 -04:00
|
|
|
project(samplesink)
|
|
|
|
|
2016-12-29 06:41:10 -05:00
|
|
|
find_package(LibUSB)
|
|
|
|
|
|
|
|
find_package(LibBLADERF)
|
2017-01-02 04:39:21 -05:00
|
|
|
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
add_subdirectory(bladerfoutput)
|
|
|
|
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
2016-12-29 06:41:10 -05:00
|
|
|
|
2017-01-08 07:04:06 -05:00
|
|
|
find_package(LibHACKRF)
|
|
|
|
if(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
|
|
|
add_subdirectory(hackrfoutput)
|
|
|
|
endif(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
2017-01-07 22:13:20 -05:00
|
|
|
|
2017-01-02 04:39:21 -05:00
|
|
|
if (BUILD_DEBIAN)
|
|
|
|
add_subdirectory(bladerfoutput)
|
2017-01-08 18:52:29 -05:00
|
|
|
add_subdirectory(hackrfoutput)
|
2017-01-02 04:39:21 -05:00
|
|
|
endif (BUILD_DEBIAN)
|
2016-12-29 06:41:10 -05:00
|
|
|
|
2016-10-19 16:32:14 -04:00
|
|
|
add_subdirectory(filesink)
|
|
|
|
|