mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
feat(Core/Crypto): add support OpenSSL 3.0 (#13354)
This commit is contained in:
9
deps/openssl/CMakeLists.txt
vendored
9
deps/openssl/CMakeLists.txt
vendored
@@ -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})
|
||||
OpenSSL::Crypto
|
||||
OpenSSL::SSL)
|
||||
Reference in New Issue
Block a user