From 54e66eefb8036906fdea377960fff511bf066459 Mon Sep 17 00:00:00 2001 From: Sauron Date: Fri, 2 Feb 2018 20:12:23 +0300 Subject: [PATCH] Prevent building WSREP without INNODB --- wsrep/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) 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)