Skip to content

Commit

Permalink
fixed define to check the replication library
Browse files Browse the repository at this point in the history
  • Loading branch information
tomatolog committed May 27, 2020
1 parent c0027fe commit bcde09c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -77,9 +77,9 @@ endmacro()
memcfgvalues ( CMAKE_BUILD_TYPE )
memcfgvalues ( DISTR_BUILD )

option(USE_GALERA "Enable building Galera replication library and using it" ON)
option(USE_GALERA "Enable building Galera replication library and using it" 1)
if (APPLE OR NOT UNIX)
set(USE_GALERA OFF)
set(USE_GALERA 0)
endif ()

if (USE_GALERA)
Expand Down
2 changes: 1 addition & 1 deletion config/config_cmake.h.in
Expand Up @@ -189,7 +189,7 @@
#define GALERA_SOVERSION "${GALERA_SOVERSION}"

/* define to use replication */
#define USE_GALERA ${USE_GALERA}
#cmakedefine01 USE_GALERA

/* define to set custom directory for shared files */
#define FULL_SHARE_DIR "${FULL_SHARE_DIR}"
Expand Down

0 comments on commit bcde09c

Please sign in to comment.