mirror of
https://github.com/etlegacy/etlegacy-libs.git
synced 2024-11-15 00:51:38 +00:00
use system native ssl implementation if no bundled ssl lib is provided
This commit is contained in:
parent
c4c29b8e5b
commit
9e5f26faf1
1 changed files with 6 additions and 2 deletions
|
@ -178,7 +178,7 @@ if(WIN32)
|
|||
elseif(BUNDLED_OPENSSL)
|
||||
list(APPEND CURL_CMAKE_ARGS -DOPENSSL_ROOT_DIR=${OPENSSL_PREFIX} -DCMAKE_USE_OPENSSL=ON)
|
||||
else()
|
||||
list(APPEND CURL_CMAKE_ARGS -DCMAKE_USE_OPENSSL=ON)
|
||||
list(APPEND CURL_CMAKE_ARGS -DCMAKE_USE_OPENSSL=OFF -DCMAKE_USE_SCHANNEL=ON)
|
||||
endif()
|
||||
else()
|
||||
list(APPEND CURL_CMAKE_ARGS -DCMAKE_USE_OPENSSL=OFF)
|
||||
|
@ -506,7 +506,11 @@ elseif(UNIX)
|
|||
elseif(BUNDLED_OPENSSL)
|
||||
list(APPEND CURL_CONFIGURE --with-ssl=${LIBS_BINARY_DIR}/openssl)
|
||||
else()
|
||||
list(APPEND CURL_CONFIGURE --with-ssl)
|
||||
if(APPLE)
|
||||
list(APPEND CURL_CONFIGURE --without-ssl --with-secure-transport)
|
||||
else()
|
||||
list(APPEND CURL_CONFIGURE --with-ssl)
|
||||
endif()
|
||||
endif()
|
||||
else()
|
||||
list(APPEND CURL_CONFIGURE --without-ssl)
|
||||
|
|
Loading…
Reference in a new issue