sdrangel/plugins/samplesource/CMakeLists.txt

78 wiersze
1.9 KiB
CMake
Czysty Zwykły widok Historia

project(samplesource)
find_package(LibUSB)
2015-03-31 17:46:29 +00:00
if(V4L-RTL)
FIND_LIBRARY (LIBV4L2 v4l2)
FIND_PATH (LIBV4L2H libv4l2.h)
# add_subdirectory(v4l-rtl)
2015-03-31 17:46:29 +00:00
endif()
if(V4L-MSI)
FIND_LIBRARY (LIBV4L2 v4l2)
FIND_PATH (LIBV4L2H libv4l2.h)
# add_subdirectory(v4l-msi)
2014-11-05 12:34:33 +00:00
endif()
2014-11-29 18:09:35 +00:00
if(LIBUSB_FOUND AND UNIX)
FIND_PATH (ASOUNDH alsa/asoundlib.h)
FIND_LIBRARY (LIBASOUND asound)
2014-11-30 21:59:06 +00:00
endif()
if(LIBASOUND AND ASOUNDH)
add_subdirectory(fcdpro)
add_subdirectory(fcdproplus)
2014-11-29 18:09:35 +00:00
endif()
2014-12-28 19:04:26 +00:00
find_package(LibRTLSDR)
if(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
add_subdirectory(rtlsdr)
endif(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
2014-12-01 19:49:00 +00:00
find_package(LibBLADERF)
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
add_subdirectory(bladerfinput)
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
2015-09-10 03:53:37 +00:00
find_package(LibAIRSPY)
if(LIBUSB_FOUND AND LIBAIRSPY_FOUND)
add_subdirectory(airspy)
2015-09-10 03:53:37 +00:00
endif(LIBUSB_FOUND AND LIBAIRSPY_FOUND)
find_package(LibHACKRF)
if(LIBUSB_FOUND AND LIBHACKRF_FOUND)
add_subdirectory(hackrfinput)
endif(LIBUSB_FOUND AND LIBHACKRF_FOUND)
find_package(LibMiriSDR)
if(LIBUSB_FOUND AND LIBMIRISDR_FOUND)
add_subdirectory(sdrplay)
message(STATUS "LibMiriSDR found")
else(LIBUSB_FOUND AND LIBMIRISDR_FOUND)
message(STATUS "LibMiriSDR NOT found")
endif(LIBUSB_FOUND AND LIBMIRISDR_FOUND)
2017-04-16 02:58:52 +00:00
find_package(LimeSuite)
if(LIBUSB_FOUND AND LIMESUITE_FOUND)
add_subdirectory(limesdrinput)
endif(LIBUSB_FOUND AND LIMESUITE_FOUND)
find_package(CM256cc)
2017-06-12 14:31:54 +00:00
find_package(LibNANOMSG)
if(CM256CC_FOUND AND LIBNANOMSG_FOUND)
add_subdirectory(sdrdaemonsource)
endif(CM256CC_FOUND AND LIBNANOMSG_FOUND)
if (BUILD_DEBIAN)
if (LIBNANOMSG_FOUND)
add_subdirectory(sdrdaemonsource)
endif (LIBNANOMSG_FOUND)
add_subdirectory(airspy)
add_subdirectory(hackrfinput)
add_subdirectory(rtlsdr)
add_subdirectory(bladerfinput)
2016-11-23 23:51:01 +00:00
add_subdirectory(sdrplay)
add_subdirectory(limesdrinput)
endif (BUILD_DEBIAN)
add_subdirectory(filesource)