diff options
author | Slávek Banko <[email protected]> | 2020-05-26 12:44:34 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-05-26 12:44:34 +0200 |
commit | aa244c3700e31955b3294c9aa3b71a020d746d67 (patch) | |
tree | f05152789de24d87cca9aff91c2e4795a8bd21d9 | |
parent | 1760d33a00b86dc9a5ca2e1f68be075f3819e1e4 (diff) | |
download | tdelibs-aa244c3700e31955b3294c9aa3b71a020d746d67.tar.gz tdelibs-aa244c3700e31955b3294c9aa3b71a020d746d67.zip |
Fix typo in the SSL library check rules.
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d5847df09..91cf38c55 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1035,7 +1035,7 @@ if( WITH_SSL ) check_library_exists( ssl SSL_library_init "" HAVE_LIBSSL ) endif( ) check_library_exists( crypto EVP_EncryptInit_ex "" HAVE_LIBCRYPTO ) - if( HAVE_OPENSSL_H AND (HAVE_LIBSSL_11 OR HAVEL_LIBSSL) AND HAVE_LIBCRYPTO ) + if( HAVE_OPENSSL_H AND (HAVE_LIBSSL_11 OR HAVE_LIBSSL) AND HAVE_LIBCRYPTO ) set( SSL_FOUND 1 CACHE INTERNAL "" FORCE ) find_file( OPENSSLV_H openssl/opensslv.h ) file( STRINGS "${OPENSSLV_H}" SSL_VERSION REGEX "#[ \t]*define[ \t]*OPENSSL_VERSION_TEXT" ) @@ -1043,7 +1043,7 @@ if( WITH_SSL ) SSL_VERSION "${SSL_VERSION}" ) set( SSL_VERSION "${SSL_VERSION}" CACHE INTERNAL "" FORCE ) message( STATUS "Found OpenSSL: version ${SSL_VERSION}" ) - endif( HAVE_OPENSSL_H AND (HAVE_LIBSSL_11 OR HAVEL_LIBSSL) AND HAVE_LIBCRYPTO ) + endif( HAVE_OPENSSL_H AND (HAVE_LIBSSL_11 OR HAVE_LIBSSL) AND HAVE_LIBCRYPTO ) endif( NOT SSL_FOUND ) if( NOT SSL_FOUND ) tde_message_fatal( "SSL support is requested, but openssl not found on your system" ) |