1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-18 06:11:46 -05:00
sdrangel/plugins/samplesource/CMakeLists.txt

53 lines
1.1 KiB
CMake
Raw Normal View History

project(samplesource)
find_package(LibUSB)
2015-03-31 13:46:29 -04:00
if(V4L-RTL)
2014-11-06 16:44:38 -05:00
FIND_LIBRARY (LIBV4L2 v4l2)
FIND_PATH (LIBV4L2H libv4l2.h)
# add_subdirectory(v4l-rtl)
2015-03-31 13:46:29 -04:00
endif()
if(V4L-MSI)
FIND_LIBRARY (LIBV4L2 v4l2)
FIND_PATH (LIBV4L2H libv4l2.h)
# add_subdirectory(v4l-msi)
2014-11-05 07:34:33 -05:00
endif()
2014-11-29 13:09:35 -05:00
if(LIBUSB_FOUND AND UNIX)
2014-11-30 16:59:06 -05:00
FIND_PATH (ASOUNDH alsa/asoundlib.h)
FIND_LIBRARY (LIBASOUND asound)
endif()
if(LIBASOUND AND ASOUNDH)
add_subdirectory(fcdpro)
add_subdirectory(fcdproplus)
2014-11-29 13:09:35 -05:00
endif()
2014-12-28 14:04:26 -05:00
find_package(LibRTLSDR)
if(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
add_subdirectory(rtlsdr)
endif(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
2014-12-01 14:49:00 -05:00
find_package(LibBLADERF)
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
add_subdirectory(bladerf)
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
2015-09-09 23:53:37 -04:00
find_package(LibAIRSPY)
if(LIBUSB_FOUND AND LIBAIRSPY_FOUND)
add_subdirectory(airspy)
endif(LIBUSB_FOUND AND LIBAIRSPY_FOUND)
find_package(LibHACKRF)
if(LIBUSB_FOUND AND LIBHACKRF_FOUND)
add_subdirectory(hackrf)
endif(LIBUSB_FOUND AND LIBHACKRF_FOUND)
#find_package(LibNANOMSG)
#if(LIBNANOMSG_FOUND)
# add_subdirectory(sdrdaemon)
#endif(LIBNANOMSG_FOUND)
add_subdirectory(filesource)
add_subdirectory(sdrdaemon)