|
|
|
|
@ -17,10 +17,6 @@ else()
|
|
|
|
|
set(ENABLE_SETUP_TUI off)
|
|
|
|
|
endif (ENABLE_TUI_SUPPORT)
|
|
|
|
|
|
|
|
|
|
if (ENABLE_SSL)
|
|
|
|
|
add_definitions(-DENABLE_SSL)
|
|
|
|
|
endif (ENABLE_SSL)
|
|
|
|
|
|
|
|
|
|
option(DISABLE_TUI_APPS "Disable extra TUI applications" off)
|
|
|
|
|
if (DISABLE_TUI_APPS)
|
|
|
|
|
message(CHECK_START "Disable extra TUI applications - enabled")
|
|
|
|
|
@ -172,7 +168,19 @@ if (HAVE_SENDMMSG)
|
|
|
|
|
endif (HAVE_SENDMMSG)
|
|
|
|
|
|
|
|
|
|
# are we enabling SSL support?
|
|
|
|
|
if (ENABLE_SSL)
|
|
|
|
|
if (NOT COMPILE_WIN32)
|
|
|
|
|
find_package(OpenSSL REQUIRED)
|
|
|
|
|
include_directories("${OPENSSL_INCLUDE_DIR}")
|
|
|
|
|
endif (ENABLE_SSL)
|
|
|
|
|
if (OpenSSL_FOUND)
|
|
|
|
|
message(STATUS "OpenSSL include dir: ${OPENSSL_INCLUDE_DIR}")
|
|
|
|
|
message(STATUS "OpenSSL libraries: ${OPENSSL_LIBRARIES}")
|
|
|
|
|
message(CHECK_START "Enable SSL support")
|
|
|
|
|
message(CHECK_PASS "yes")
|
|
|
|
|
|
|
|
|
|
add_definitions(-DENABLE_SSL)
|
|
|
|
|
include_directories("${OPENSSL_INCLUDE_DIR}")
|
|
|
|
|
else (OpenSSL_FOUND)
|
|
|
|
|
message(STATUS "OpenSSL not found, SSL support disabled")
|
|
|
|
|
message(CHECK_START "Enable SSL support")
|
|
|
|
|
message(CHECK_PASS "no")
|
|
|
|
|
endif (OpenSSL_FOUND)
|
|
|
|
|
endif (NOT COMPILE_WIN32)
|
|
|
|
|
|