summaryrefslogtreecommitdiff
path: root/cmake/ssl.cmake
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2015-03-10 22:34:57 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2015-03-10 22:34:57 +0400
commitba43735c6871656d50e6d6fb6dc0d7308e9ea749 (patch)
tree4fb108a234af96babed008928ea1b8894fa0154f /cmake/ssl.cmake
parent0ed57e34c76ffa5e457e1abb402ada6352fb52b2 (diff)
downloadmariadb-git-ba43735c6871656d50e6d6fb6dc0d7308e9ea749.tar.gz
Check for the openssl-dev so the build doesn't fail without it.
Diffstat (limited to 'cmake/ssl.cmake')
-rw-r--r--cmake/ssl.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/ssl.cmake b/cmake/ssl.cmake
index 2f2ffa70318..f91821ec905 100644
--- a/cmake/ssl.cmake
+++ b/cmake/ssl.cmake
@@ -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 "")