|
|
@ -68,8 +68,10 @@ option(ENABLE_SRSEPC "Build srsEPC application" ON)
|
|
|
|
option(DISABLE_SIMD "disable simd instructions" OFF)
|
|
|
|
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_UHD "Enable UHD" ON)
|
|
|
|
option(ENABLE_BLADERF "Enable BladeRF" ON)
|
|
|
|
option(ENABLE_BLADERF "Enable BladeRF" ON)
|
|
|
|
option(ENABLE_SOAPYSDR "Enable SoapySDR" ON)
|
|
|
|
option(ENABLE_SOAPYSDR "Enable SoapySDR" ON)
|
|
|
|
|
|
|
|
option(ENABLE_HARDSIM "Enable support for SIM cards" 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)
|
|
|
@ -133,21 +135,25 @@ else(POLARSSL_FOUND)
|
|
|
|
endif(POLARSSL_FOUND)
|
|
|
|
endif(POLARSSL_FOUND)
|
|
|
|
|
|
|
|
|
|
|
|
# Hard-SIM support
|
|
|
|
# Hard-SIM support
|
|
|
|
find_package(PCSCLite)
|
|
|
|
if(ENABLE_HARDSIM)
|
|
|
|
if (PCSCLITE_FOUND)
|
|
|
|
find_package(PCSCLite)
|
|
|
|
message(STATUS "Building with PCSC support.")
|
|
|
|
if (PCSCLITE_FOUND)
|
|
|
|
add_definitions(-DHAVE_PCSC)
|
|
|
|
message(STATUS "Building with PCSC support.")
|
|
|
|
set(HAVE_PCSC TRUE)
|
|
|
|
add_definitions(-DHAVE_PCSC)
|
|
|
|
include_directories(${PCSCLITE_INCLUDE_DIR})
|
|
|
|
set(HAVE_PCSC TRUE)
|
|
|
|
#link_directories(${PCSCLITE_LIBRARIES})
|
|
|
|
include_directories(${PCSCLITE_INCLUDE_DIR})
|
|
|
|
endif (PCSCLITE_FOUND)
|
|
|
|
#link_directories(${PCSCLITE_LIBRARIES})
|
|
|
|
|
|
|
|
endif (PCSCLITE_FOUND)
|
|
|
|
|
|
|
|
endif(ENABLE_HARDSIM)
|
|
|
|
|
|
|
|
|
|
|
|
# UHD
|
|
|
|
# UHD
|
|
|
|
find_package(UHD)
|
|
|
|
if(ENABLE_UHD)
|
|
|
|
if(UHD_FOUND)
|
|
|
|
find_package(UHD)
|
|
|
|
include_directories(${UHD_INCLUDE_DIRS})
|
|
|
|
if(UHD_FOUND)
|
|
|
|
link_directories(${UHD_LIBRARY_DIRS})
|
|
|
|
include_directories(${UHD_INCLUDE_DIRS})
|
|
|
|
endif(UHD_FOUND)
|
|
|
|
link_directories(${UHD_LIBRARY_DIRS})
|
|
|
|
|
|
|
|
endif(UHD_FOUND)
|
|
|
|
|
|
|
|
endif(ENABLE_UHD)
|
|
|
|
|
|
|
|
|
|
|
|
# BladeRF
|
|
|
|
# BladeRF
|
|
|
|
if(ENABLE_BLADERF)
|
|
|
|
if(ENABLE_BLADERF)
|
|
|
|