summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2016-11-09 00:10:45 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2016-11-09 00:10:45 +0100
commit6ae3dd6fb4c466e0facb26261349eb9c9debd6e5 (patch)
treed2c20b2c26206b6f7debf1503a45e8b7dda6114f /plugin
parent909e2392b2b31888a8410d6d692fc520243c8497 (diff)
downloadmariadb-git-6ae3dd6fb4c466e0facb26261349eb9c9debd6e5.tar.gz
AWS Key management plugin does not build on Centos7.
Building AWS C++ SDK as external project needs CMake 2.8.12 Centos7 out of the box has 2.8.11, thus the build fails. Fixed check for required CMake version.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/aws_key_management/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/aws_key_management/CMakeLists.txt b/plugin/aws_key_management/CMakeLists.txt
index 83285ee6cc9..6181b7443cd 100644
--- a/plugin/aws_key_management/CMakeLists.txt
+++ b/plugin/aws_key_management/CMakeLists.txt
@@ -68,7 +68,8 @@ IF(AWS_CPP_SDK_CORE AND AWS_CPP_SDK_KMS AND HAVE_AWS_HEADERS)
SET(AWS_SDK_LIBS ${AWS_CPP_SDK_CORE} ${AWS_CPP_SDK_KMS})
ELSE()
# Build from source, using ExternalProject_Add
- IF(CMAKE_VERSION VERSION_LESS "2.8.8")
+ # AWS C++ SDK requires cmake 2.8.12
+ IF(CMAKE_VERSION VERSION_LESS "2.8.12")
SKIP_AWS_PLUGIN("CMake is too old")
ENDIF()
FIND_PACKAGE(Git)