mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
Check for the openssl-dev so the build doesn't fail without it.
This commit is contained in:
@@ -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 "")
|
||||
|
||||
Reference in New Issue
Block a user