Commit 28d44abd authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-27540 Different OpenSSL versions mix up in build depending on cmake options

list ${OPENSSL_ROOT_DIR}/lib64 explicitly, because
cmake below version 3.23.0 won't search there.
parent b043e109
...@@ -113,7 +113,8 @@ MACRO (MYSQL_CHECK_SSL) ...@@ -113,7 +113,8 @@ MACRO (MYSQL_CHECK_SSL)
) )
IF(NOT OPENSSL_ROOT_DIR) IF(NOT OPENSSL_ROOT_DIR)
IF(WITH_SSL_PATH) IF(WITH_SSL_PATH)
SET(OPENSSL_ROOT_DIR ${WITH_SSL_PATH}) # workaround for https://gitlab.kitware.com/cmake/cmake/-/issues/22945
SET(OPENSSL_ROOT_DIR ${WITH_SSL_PATH} ${WITH_SSL_PATH}/lib64)
ENDIF() ENDIF()
ENDIF() ENDIF()
FIND_PACKAGE(OpenSSL) FIND_PACKAGE(OpenSSL)
......
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