kopia lustrzana https://github.com/f4exb/sdrangel
26 wiersze
597 B
CMake
26 wiersze
597 B
CMake
project(samplesink)
|
|
|
|
find_package(LibUSB)
|
|
|
|
find_package(LibBLADERF)
|
|
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
add_subdirectory(bladerfoutput)
|
|
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
find_package(LibHACKRF)
|
|
if(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
|
add_subdirectory(hackrfoutput)
|
|
endif(LIBUSB_FOUND AND LIBHACKRF_FOUND)
|
|
|
|
find_package(LimeSuite)
|
|
if(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
|
add_subdirectory(limesdroutput)
|
|
endif(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
|
|
|
if (BUILD_DEBIAN)
|
|
add_subdirectory(limesdroutput)
|
|
add_subdirectory(hackrfoutput)
|
|
endif (BUILD_DEBIAN)
|
|
|
|
add_subdirectory(filesink)
|