diff options
Diffstat (limited to 'deps/openssl')
-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 |