summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-26 12:44:34 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-02-03 21:54:09 +0100
commiteba282f3972215858e7e8db968d2bcaa81770deb (patch)
tree362ed2c66a0643fd76a6999828bb62c4aaab9803
parentf659403a3aa81bf3a57a32dd7d32a3341d976cc4 (diff)
downloadtdelibs-eba282f3972215858e7e8db968d2bcaa81770deb.tar.gz
tdelibs-eba282f3972215858e7e8db968d2bcaa81770deb.zip
Fix typo in the SSL library check rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit aa244c3700e31955b3294c9aa3b71a020d746d67)
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ff76b8d1e..e28b74712 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -934,7 +934,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" )
@@ -942,7 +942,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" )