externals: auto detect system OpenSSL
This commit is contained in:
parent
6be4451e39
commit
2b96ae4449
2 changed files with 2 additions and 4 deletions
4
externals/CMakeLists.txt
vendored
4
externals/CMakeLists.txt
vendored
|
@ -73,8 +73,8 @@ if (NOT LIBZIP_FOUND)
|
|||
endif()
|
||||
|
||||
if (ENABLE_WEB_SERVICE)
|
||||
if (USE_SYSTEM_SSL)
|
||||
find_package(OpenSSL 1.1 REQUIRED)
|
||||
find_package(OpenSSL 1.1)
|
||||
if (OPENSSL_FOUND)
|
||||
set(OPENSSL_LIBRARIES OpenSSL::SSL OpenSSL::Crypto)
|
||||
else()
|
||||
# LibreSSL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue