mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-08-21 21:46:33 -04:00
32 lines
804 B
CMake
32 lines
804 B
CMake
project(devices)
|
|
|
|
find_package(LibUSB)
|
|
|
|
if (BUILD_DEBIAN)
|
|
add_subdirectory(bladerf)
|
|
add_subdirectory(hackrf)
|
|
add_subdirectory(limesdr)
|
|
add_subdirectory(sdrdaemon)
|
|
else(BUILD_DEBIAN)
|
|
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)
|
|
|
|
find_package(LimeSuite)
|
|
if(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
|
add_subdirectory(limesdr)
|
|
endif(LIBUSB_FOUND AND LIMESUITE_FOUND)
|
|
|
|
find_package(CM256cc)
|
|
if(CM256CC_FOUND)
|
|
add_subdirectory(sdrdaemon)
|
|
endif(CM256CC_FOUND AND LIBNANOMSG_FOUND)
|
|
|
|
endif (BUILD_DEBIAN)
|