mirror of
https://github.com/zebrajr/server.git
synced 2025-12-06 00:20:13 +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
|
|
@ -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 New Issue
Block a user