Reintroduce HAVE_OPENSSL parameter
This commit is contained in:
parent
b0f4c65388
commit
0ca3d96506
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue