diff options
author | Shauren <shauren.trinity@gmail.com> | 2021-09-22 18:49:33 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-10-01 13:02:03 +0200 |
commit | 4d153b6cb9d633408047e19f28428c52db3d81f6 (patch) | |
tree | f03fdfba301fd5c4db0e86077472451800c2cdb9 /dep | |
parent | 629ec3a14d7adfda3eab392839211f8bf007c0b1 (diff) |
Build: Update FindOpenSSL.cmake and remove custom FindGit
(cherry picked from commit 77596dba67483c8050c3d3ea1c4299360fde6beb)
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) |