Skip to content

Commit d5bad49

Browse files
committed
MDEV-34313: compile WITHOUT_SERVER and WSREP=ON
CMake WSREP=ON has some implications for client executables so still present this as an option when compiling WITHOUT_SERVER. In this case default to ON for maximium compatibility of the build client executables and libraries.
1 parent 53a4867 commit d5bad49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmake/wsrep.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
#
1818
# Galera library does not compile with windows
1919
#
20-
IF (NOT WITHOUT_SERVER)
20+
IF(WITHOUT_SERVER)
21+
OPTION(WITH_WSREP "Galera server compatibility in build client utilities" ON)
22+
ELSE()
2123
IF(UNIX)
2224
SET(with_wsrep_default ON)
2325
ELSE()

0 commit comments

Comments
 (0)