diff options
author | Winfidonarleyan <dowlandtop@yandex.com> | 2022-11-23 21:12:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-24 01:12:20 +0700 |
commit | a1a1528cb4a9ed6f0220621fe6ecf9e2c36a5534 (patch) | |
tree | 04598163bda650f353cc1e12872c03f94537f700 /deps | |
parent | 4a2964e10a03a2b6ba2077e6b362b8a6ba6675fb (diff) |
feat(Core/Crypto): add support `OpenSSL 3.0` (#13354)
Diffstat (limited to 'deps')
-rw-r--r-- | deps/openssl/CMakeLists.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/deps/openssl/CMakeLists.txt b/deps/openssl/CMakeLists.txt index bc69bbfa47..a72459cd73 100644 --- a/deps/openssl/CMakeLists.txt +++ b/deps/openssl/CMakeLists.txt @@ -14,14 +14,11 @@ # (further support will be needed, this is a preliminary release!) set(OPENSSL_EXPECTED_VERSION 1.0.0) -find_package(OpenSSL REQUIRED) +find_package(OpenSSL REQUIRED COMPONENTS Crypto SSL) add_library(openssl INTERFACE) target_link_libraries(openssl INTERFACE - ${OPENSSL_LIBRARIES}) - -target_include_directories(openssl - INTERFACE - ${OPENSSL_INCLUDE_DIR})
\ No newline at end of file + OpenSSL::Crypto + OpenSSL::SSL)
\ No newline at end of file |