Commit 31f1fe22 authored by Sergei Golubchik's avatar Sergei Golubchik

don't try to build with OpenSSL 1.1+

parent 250c5aa0
......@@ -79,7 +79,8 @@ MACRO (MYSQL_CHECK_SSL)
HAVE_ERR_remove_thread_state)
SET(CMAKE_REQUIRED_INCLUDES)
SET(CMAKE_REQUIRED_LIBRARIES)
IF(OPENSSL_FOUND AND CRYPTO_LIBRARY AND HAVE_SHA512_DIGEST_LENGTH)
IF(OPENSSL_FOUND AND OPENSSL_VERSION VERSION_LESS "1.1.0" AND
CRYPTO_LIBRARY AND HAVE_SHA512_DIGEST_LENGTH)
SET(SSL_SOURCES "")
SET(SSL_LIBRARIES ${OPENSSL_LIBRARIES} ${CRYPTO_LIBRARY})
SET(SSL_INCLUDE_DIRS ${OPENSSL_INCLUDE_DIR})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment