summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorAnel Husakovic <anel@mariadb.org>2021-03-15 11:37:19 +0100
committerDaniel Black <daniel@mariadb.org>2021-03-28 12:51:48 +1100
commit67eeb7770bb758832cf7dc5371c11e0f2ab76613 (patch)
tree5effde49b97227ac30e93b34a00538dfc43527d5 /support-files
parente538cb095f6290c40e8928e3813db6ac679740a2 (diff)
downloadmariadb-git-67eeb7770bb758832cf7dc5371c11e0f2ab76613.tar.gz
MDEV-23429: Remove WSREP when using WITHOUT_SERVER
Under WITHOUT_WSREP: Exclude support files that are server only like * wsrep.cnf * wsrep_notify * log rotate config files * mysqld_multi Exclude man pages of server components
Diffstat (limited to 'support-files')
-rw-r--r--support-files/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/support-files/CMakeLists.txt b/support-files/CMakeLists.txt
index 7fac042dca6..338ae90cd42 100644
--- a/support-files/CMakeLists.txt
+++ b/support-files/CMakeLists.txt
@@ -41,14 +41,14 @@ ELSE()
SET(inst_location ${INSTALL_SUPPORTFILESDIR})
ENDIF()
-IF(WITH_WSREP)
+IF(WITH_WSREP AND NOT WITHOUT_SERVER)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/wsrep.cnf.sh
${CMAKE_CURRENT_BINARY_DIR}/wsrep.${ini_file_extension} @ONLY)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/wsrep.${ini_file_extension}
DESTINATION ${inst_location} COMPONENT IniFiles)
ENDIF()
-IF(UNIX)
+IF(UNIX AND NOT WITHOUT_SERVER)
SET(prefix ${CMAKE_INSTALL_PREFIX})
FOREACH(script mysqld_multi.server mysql-log-rotate binary-configure wsrep_notify)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${script}.sh