mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-08-23 04:26:46 -05:00
externals: auto detect system OpenSSL
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user