mirror of
https://github.com/MariaDB/server.git
synced 2025-12-28 08:10:14 +00:00
don't try to build with OpenSSL 1.1+
This commit is contained in:
parent
250c5aa02c
commit
31f1fe223e
@ -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})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user