|
|
@ -69,6 +69,7 @@ option(DISABLE_SIMD "disable simd instructions" OFF)
|
|
|
|
|
|
|
|
|
|
|
|
option(ENABLE_GUI "Enable GUI (using srsGUI)" ON)
|
|
|
|
option(ENABLE_GUI "Enable GUI (using srsGUI)" ON)
|
|
|
|
option(ENABLE_BLADERF "Enable BladeRF" ON)
|
|
|
|
option(ENABLE_BLADERF "Enable BladeRF" ON)
|
|
|
|
|
|
|
|
option(ENABLE_SOAPYSDR "Enable SoapySDR" ON)
|
|
|
|
|
|
|
|
|
|
|
|
option(BUILD_STATIC "Attempt to statically link external deps" OFF)
|
|
|
|
option(BUILD_STATIC "Attempt to statically link external deps" OFF)
|
|
|
|
option(RPATH "Enable RPATH" OFF)
|
|
|
|
option(RPATH "Enable RPATH" OFF)
|
|
|
@ -148,11 +149,13 @@ if(ENABLE_BLADERF)
|
|
|
|
endif(ENABLE_BLADERF)
|
|
|
|
endif(ENABLE_BLADERF)
|
|
|
|
|
|
|
|
|
|
|
|
# Soapy
|
|
|
|
# Soapy
|
|
|
|
find_package(SoapySDR)
|
|
|
|
if(ENABLE_SOAPYSDR)
|
|
|
|
if(SOAPYSDR_FOUND)
|
|
|
|
find_package(SoapySDR)
|
|
|
|
include_directories(${SOAPYSDR_INCLUDE_DIRS})
|
|
|
|
if(SOAPYSDR_FOUND)
|
|
|
|
link_directories(${SOAPYSDR_LIBRARY_DIRS})
|
|
|
|
include_directories(${SOAPYSDR_INCLUDE_DIRS})
|
|
|
|
endif(SOAPYSDR_FOUND)
|
|
|
|
link_directories(${SOAPYSDR_LIBRARY_DIRS})
|
|
|
|
|
|
|
|
endif(SOAPYSDR_FOUND)
|
|
|
|
|
|
|
|
endif(ENABLE_SOAPYSDR)
|
|
|
|
|
|
|
|
|
|
|
|
if(BLADERF_FOUND OR UHD_FOUND OR SOAPYSDR_FOUND)
|
|
|
|
if(BLADERF_FOUND OR UHD_FOUND OR SOAPYSDR_FOUND)
|
|
|
|
set(RF_FOUND TRUE CACHE INTERNAL "RF frontend found")
|
|
|
|
set(RF_FOUND TRUE CACHE INTERNAL "RF frontend found")
|
|
|
|