mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Check for the openssl-dev so the build doesn't fail without it.
This commit is contained in:
parent
0ed57e34c7
commit
ba43735c68
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ MACRO (MYSQL_CHECK_SSL)
|
|||
SET(CMAKE_REQUIRED_INCLUDES ${OPENSSL_INCLUDE_DIR})
|
||||
CHECK_SYMBOL_EXISTS(SHA512_DIGEST_LENGTH "openssl/sha.h"
|
||||
HAVE_SHA512_DIGEST_LENGTH)
|
||||
SET(CMAKE_REQUIRED_INCLUDES)
|
||||
IF(OPENSSL_INCLUDE_DIR AND OPENSSL_LIBRARIES AND
|
||||
CRYPTO_LIBRARY AND HAVE_SHA512_DIGEST_LENGTH)
|
||||
SET(SSL_SOURCES "")
|
||||
|
|
Loading…
Reference in a new issue