1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-15 21:01:45 -05:00
sdrangel/devices/CMakeLists.txt

39 lines
1.0 KiB
CMake
Raw Normal View History

project(devices)
find_package(LibUSB)
if (BUILD_DEBIAN)
add_subdirectory(bladerf1)
add_subdirectory(bladerf2)
add_subdirectory(hackrf)
add_subdirectory(limesdr)
add_subdirectory(perseus)
add_subdirectory(plutosdr)
2017-05-08 12:30:52 -04:00
else(BUILD_DEBIAN)
find_package(LibBLADERF)
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
add_subdirectory(bladerf1)
add_subdirectory(bladerf2)
2017-05-08 12:30:52 -04:00
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)
2017-05-08 12:30:52 -04:00
if(LIBUSB_FOUND AND LIMESUITE_FOUND)
add_subdirectory(limesdr)
endif(LIBUSB_FOUND AND LIMESUITE_FOUND)
find_package(LibIIO)
if(LIBUSB_FOUND AND LIBIIO_FOUND)
add_subdirectory(plutosdr)
endif(LIBUSB_FOUND AND LIBIIO_FOUND)
2018-02-06 12:49:22 -05:00
find_package(LibPerseus)
if(LIBUSB_FOUND AND LIBPERSEUS_FOUND)
add_subdirectory(perseus)
endif()
endif (BUILD_DEBIAN)