1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-17 16:24:08 -04:00

Fixed SDRdaemon and SDRdaemonFEC builds so that they are included only if dependent libraries are found. This fixes issue #9

This commit is contained in:
f4exb
2016-11-21 17:48:30 +01:00
parent 60925ea84b
commit 7c8efb046c
2 changed files with 15 additions and 8 deletions
+7 -8
View File
@@ -50,15 +50,16 @@ else(LIBUSB_FOUND AND LIBMIRISDR_FOUND)
message(STATUS "LibMiriSDR NOT found")
endif(LIBUSB_FOUND AND LIBMIRISDR_FOUND)
#find_package(LibNANOMSG)
#if(LIBNANOMSG_FOUND)
# add_subdirectory(sdrdaemon)
#endif(LIBNANOMSG_FOUND)
find_package(LZ4)
find_package(LibNANOMSG)
if(LIBNANOMSG_FOUND AND LIBLZ4_FOUND)
add_subdirectory(sdrdaemon)
endif(LIBNANOMSG_FOUND AND LIBLZ4_FOUND)
find_package(CM256cc)
if(CM256CC_FOUND)
if(CM256CC_FOUND AND LIBNANOMSG_FOUND)
add_subdirectory(sdrdaemonfec)
endif(CM256CC_FOUND)
endif(CM256CC_FOUND AND LIBNANOMSG_FOUND)
if (BUILD_DEBIAN)
add_subdirectory(sdrdaemonfec)
@@ -68,7 +69,5 @@ if (BUILD_DEBIAN)
add_subdirectory(bladerf)
endif (BUILD_DEBIAN)
add_subdirectory(filesource)
add_subdirectory(sdrdaemon)