mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-15 10:22:20 +08:00
Reintroduce HAVE_OPENSSL parameter
This commit is contained in:
parent
b0f4c65388
commit
0ca3d96506
@ -32,6 +32,7 @@ else()
|
|||||||
if(OPENSSL_FOUND)
|
if(OPENSSL_FOUND)
|
||||||
set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
|
set(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
|
||||||
set(WITH_TLS ON)
|
set(WITH_TLS ON)
|
||||||
|
add_compile_options(-DHAVE_OPENSSL)
|
||||||
else()
|
else()
|
||||||
message(STATUS "OpenSSL was not found - Will compile without TLS Support")
|
message(STATUS "OpenSSL was not found - Will compile without TLS Support")
|
||||||
message(STATUS "You can set OPENSSL_ROOT_DIR to help cmake find it")
|
message(STATUS "You can set OPENSSL_ROOT_DIR to help cmake find it")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user