You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
636 B
31 lines
636 B
project(samplesource) |
|
|
|
find_package(LibUSB) |
|
#find_package(LibOsmoSDR) |
|
|
|
add_subdirectory(gnuradio) |
|
#add_subdirectory(remote) |
|
|
|
if(LIBUSB_FOUND AND LIBOSMOSDR_FOUND) |
|
add_subdirectory(osmosdr) |
|
endif(LIBUSB_FOUND AND LIBOSMOSDR_FOUND) |
|
|
|
if(KERNEL AND UNIX) |
|
FIND_LIBRARY (LIBV4L2 v4l2) |
|
FIND_PATH (LIBV4L2H libv4l2.h) |
|
add_subdirectory(v4l) |
|
endif() |
|
|
|
if(LIBUSB_FOUND AND UNIX) |
|
FIND_PATH (ASOUNDH alsa/asoundlib.h) |
|
FIND_LIBRARY (LIBASOUND asound) |
|
endif() |
|
if(LIBASOUND AND ASOUNDH) |
|
add_subdirectory(fcd) |
|
endif() |
|
|
|
find_package(LibRTLSDR) |
|
if(LIBUSB_FOUND AND LIBRTLSDR_FOUND) |
|
add_subdirectory(rtlsdr) |
|
endif(LIBUSB_FOUND AND LIBRTLSDR_FOUND) |
|
|
|
|