Skip to content

Commit

Permalink
MDEV-34313: compile WITHOUT_SERVER and WSREP=ON
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
grooverdan committed Jun 26, 2024
1 parent 53a4867 commit d5bad49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake/wsrep.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
#
# Galera library does not compile with windows
#
IF (NOT WITHOUT_SERVER)
IF(WITHOUT_SERVER)
OPTION(WITH_WSREP "Galera server compatibility in build client utilities" ON)
ELSE()
IF(UNIX)
SET(with_wsrep_default ON)
ELSE()
Expand Down

0 comments on commit d5bad49

Please sign in to comment.