File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,20 @@ ELSE()
41
41
SET (inst_location ${INSTALL_SUPPORTFILESDIR} )
42
42
ENDIF ()
43
43
44
- FOREACH (inifile my-huge my-innodb-heavy-4G my-large my-medium my-small wsrep )
45
- CONFIGURE_FILE (${CMAKE_CURRENT_SOURCE_DIR} /${inifile}.cnf.sh
44
+ FOREACH (inifile my-huge my-innodb-heavy-4G my-large my-medium my-small )
45
+ CONFIGURE_FILE (${CMAKE_CURRENT_SOURCE_DIR} /${inifile}.cnf.sh
46
46
${CMAKE_CURRENT_BINARY_DIR} /${inifile}.${ini_file_extension} @ONLY )
47
47
INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR} /${inifile}.${ini_file_extension}
48
48
DESTINATION ${inst_location} COMPONENT IniFiles )
49
49
ENDFOREACH ()
50
50
51
+ IF (WITH_WSREP )
52
+ CONFIGURE_FILE (${CMAKE_CURRENT_SOURCE_DIR} /wsrep.cnf.sh
53
+ ${CMAKE_CURRENT_BINARY_DIR} /wsrep.${ini_file_extension} @ONLY )
54
+ INSTALL (FILES ${CMAKE_CURRENT_BINARY_DIR} /wsrep.${ini_file_extension}
55
+ DESTINATION ${inst_location} COMPONENT IniFiles )
56
+ ENDIF ()
57
+
51
58
IF (UNIX )
52
59
SET (prefix ${CMAKE_INSTALL_PREFIX} )
53
60
FOREACH (script mysqld_multi.server mysql-log-rotate binary-configure wsrep_notify )
You can’t perform that action at this time.
0 commit comments