Reintroduce HAVE_OPENSSL parameter

This commit is contained in:
Mohamed Oulmahdi 2022-01-17 19:10:20 +01:00
parent b0f4c65388
commit 0ca3d96506
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ else()
if(OPENSSL_FOUND)
set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
set(WITH_TLS ON)
add_compile_options(-DHAVE_OPENSSL)
else()
message(STATUS "OpenSSL was not found - Will compile without TLS Support")
message(STATUS "You can set OPENSSL_ROOT_DIR to help cmake find it")