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>2020-05-26 12:45:32 +0200
commit6c18a6cb79a2e44c9238abed4d9edcf637d27325 (patch)
tree3b72b6dd64c546b5236b4a0489c6052a6830591d
parent5639a3ae579fd71aaa6af60f7d4fd79a03fb316c (diff)
downloadtdelibs-6c18a6cb79a2e44c9238abed4d9edcf637d27325.tar.gz
tdelibs-6c18a6cb79a2e44c9238abed4d9edcf637d27325.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 700009534..2137158cc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -951,7 +951,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" )
@@ -959,7 +959,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" )