summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSauron <git@sauron.cf>2018-02-02 20:12:23 +0300
committerVladislav Vaintroub <wlad@mariadb.com>2018-02-15 15:00:46 +0000
commit54e66eefb8036906fdea377960fff511bf066459 (patch)
tree370e52cfdeb26f2e3844b9da189b14b422d00aa0
parent743b073c4637e76460e01ab14ac34545c661e9b7 (diff)
downloadmariadb-git-54e66eefb8036906fdea377960fff511bf066459.tar.gz
Prevent building WSREP without INNODB
-rw-r--r--wsrep/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/wsrep/CMakeLists.txt b/wsrep/CMakeLists.txt
index 53c8e853078..ff2bdec4def 100644
--- a/wsrep/CMakeLists.txt
+++ b/wsrep/CMakeLists.txt
@@ -15,6 +15,10 @@
SET(WSREP_SOURCES wsrep_gtid.c wsrep_uuid.c wsrep_loader.c wsrep_dummy.c)
+IF(NOT WITH_INNOBASE_STORAGE_ENGINE)
+ MESSAGE(WARNING "WSRep is enabled, but innodb is not. This configuration is not supported")
+ENDIF()
+
ADD_CONVENIENCE_LIBRARY(wsrep ${WSREP_SOURCES})
DTRACE_INSTRUMENT(wsrep)