diff options
author | Shauren <shauren.trinity@gmail.com> | 2021-09-22 18:49:33 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-09-22 18:49:33 +0200 |
commit | 77596dba67483c8050c3d3ea1c4299360fde6beb (patch) | |
tree | 8289cc71003e54ab2510dafbd5bde9bedcaa4eca /dep | |
parent | f89bb434196c045b684218f5e7a10a6ffd5cd421 (diff) |
Build: Update FindOpenSSL.cmake and remove custom FindGit
Diffstat (limited to 'dep')
-rw-r--r-- | dep/openssl/CMakeLists.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/dep/openssl/CMakeLists.txt b/dep/openssl/CMakeLists.txt index a08fb15a019..c76fa03dd3f 100644 --- a/dep/openssl/CMakeLists.txt +++ b/dep/openssl/CMakeLists.txt @@ -13,14 +13,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) |