Skip to content

Commit

Permalink
don't try to build with OpenSSL 1.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Oct 30, 2018
1 parent 250c5aa commit 31f1fe2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/ssl.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 31f1fe2

Please sign in to comment.