2014-05-18 15:52:39 +00:00
|
|
|
project(samplesource)
|
|
|
|
|
|
|
|
find_package(LibUSB)
|
|
|
|
|
2015-03-31 17:46:29 +00:00
|
|
|
if(V4L-RTL)
|
2014-11-06 21:44:38 +00:00
|
|
|
FIND_LIBRARY (LIBV4L2 v4l2)
|
|
|
|
FIND_PATH (LIBV4L2H libv4l2.h)
|
2015-08-30 19:46:27 +00:00
|
|
|
# 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)
|
2015-08-30 19:46:27 +00:00
|
|
|
# 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)
|
2014-11-30 21:59:06 +00:00
|
|
|
FIND_PATH (ASOUNDH alsa/asoundlib.h)
|
|
|
|
FIND_LIBRARY (LIBASOUND asound)
|
|
|
|
endif()
|
|
|
|
if(LIBASOUND AND ASOUNDH)
|
2015-09-04 02:10:38 +00:00
|
|
|
add_subdirectory(fcdproplus)
|
2014-11-29 18:09:35 +00:00
|
|
|
endif()
|
|
|
|
|
2014-12-28 19:04:26 +00:00
|
|
|
find_package(LibRTLSDR)
|
2014-05-18 15:52:39 +00:00
|
|
|
if(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
|
|
|
|
add_subdirectory(rtlsdr)
|
|
|
|
endif(LIBUSB_FOUND AND LIBRTLSDR_FOUND)
|
2014-12-01 19:49:00 +00:00
|
|
|
|
2015-06-07 01:30:28 +00:00
|
|
|
find_package(LibBLADERF)
|
|
|
|
if(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
add_subdirectory(bladerf)
|
|
|
|
endif(LIBUSB_FOUND AND LIBBLADERF_FOUND)
|
|
|
|
|
2015-08-02 23:04:20 +00:00
|
|
|
add_subdirectory(filesource)
|