mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
don't build with OpenSSL 3.0, it doesn't work before MDEV-25785
This commit is contained in:
parent
c1d7b4575e
commit
c9beef4315
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ MACRO (MYSQL_CHECK_SSL)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
FIND_PACKAGE(OpenSSL)
|
FIND_PACKAGE(OpenSSL)
|
||||||
SET_PACKAGE_PROPERTIES(OpenSSL PROPERTIES TYPE RECOMMENDED)
|
SET_PACKAGE_PROPERTIES(OpenSSL PROPERTIES TYPE RECOMMENDED)
|
||||||
IF(OPENSSL_FOUND)
|
IF(OPENSSL_FOUND AND OPENSSL_VERSION AND OPENSSL_VERSION VERSION_LESS "3.0.0")
|
||||||
SET(OPENSSL_LIBRARY ${OPENSSL_SSL_LIBRARY})
|
SET(OPENSSL_LIBRARY ${OPENSSL_SSL_LIBRARY})
|
||||||
SET(SSL_SOURCES "")
|
SET(SSL_SOURCES "")
|
||||||
SET(SSL_LIBRARIES ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY})
|
SET(SSL_LIBRARIES ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY})
|
||||||
|
|
Loading…
Add table
Reference in a new issue