diff options
author | Dirkjan Bussink <d.bussink@gmail.com> | 2020-12-18 13:57:30 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2020-12-22 09:15:38 +0100 |
commit | d005163ace21dbf2dbf9de579dbec237264969c0 (patch) | |
tree | 048e550c9feb0f3594b65f32904d383bc436efba | |
parent | 7e99867533cd70d7e1f67b668c7aef064afd3b24 (diff) | |
download | libssh-d005163ace21dbf2dbf9de579dbec237264969c0.tar.gz libssh-d005163ace21dbf2dbf9de579dbec237264969c0.tar.xz libssh-d005163ace21dbf2dbf9de579dbec237264969c0.zip |
Require at least OpenSSL 1.0.1
This is now the minimum version, so check it in the CMake configuration.
Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ae2525d..b8b4b0bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,7 +58,7 @@ elseif(WITH_MBEDTLS) message(FATAL_ERROR "Could not find mbedTLS") endif (NOT MBEDTLS_FOUND) else (WITH_GCRYPT) - find_package(OpenSSL) + find_package(OpenSSL 1.0.1) if (OPENSSL_FOUND) # On CMake < 3.16, OPENSSL_CRYPTO_LIBRARIES is usually a synonym for OPENSSL_CRYPTO_LIBRARY, but is not defined # when building on Windows outside of Cygwin. We provide the synonym here, if FindOpenSSL didn't define it already. |