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