Skip to content

Commit 8db54f1

Browse files
SauronJan Lindström
authored andcommitted
Prevent building WSREP without INNODB
1 parent c6e3527 commit 8db54f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

wsrep/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515

1616
SET(WSREP_SOURCES wsrep_gtid.c wsrep_uuid.c wsrep_loader.c wsrep_dummy.c)
1717

18+
IF(NOT WITH_INNOBASE_STORAGE_ENGINE)
19+
MESSAGE(WARNING "WSRep is enabled, but innodb is not. This configuration is not supported")
20+
ENDIF()
21+
1822
ADD_CONVENIENCE_LIBRARY(wsrep ${WSREP_SOURCES})
1923
DTRACE_INSTRUMENT(wsrep)
2024

0 commit comments

Comments
 (0)