mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
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.
This commit is contained in:
parent
b043e1098e
commit
28d44abd99
1 changed files with 2 additions and 1 deletions
|
@ -113,7 +113,8 @@ MACRO (MYSQL_CHECK_SSL)
|
|||
)
|
||||
IF(NOT OPENSSL_ROOT_DIR)
|
||||
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()
|
||||
FIND_PACKAGE(OpenSSL)
|
||||
|
|
Loading…
Reference in a new issue