summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnel Husakovic <anel@mariadb.org>2020-07-29 16:04:41 +0200
committerAnel Husakovic <anel@mariadb.org>2020-07-29 16:04:41 +0200
commitaf8a8c8eb0d0c50044798883d2b78487afe60dc5 (patch)
tree0ebbfc48f0accd773e598aafa2f9ce9ba485d5e8
parentee9a4aa529e556b2a7e9db2a4c6320c83903d3ba (diff)
downloadmariadb-git-bb-10.2-anel-PR900.tar.gz
wsrep_notify exclusionbb-10.2-anel-PR900
-rw-r--r--support-files/CMakeLists.txt20
1 files changed, 12 insertions, 8 deletions
diff --git a/support-files/CMakeLists.txt b/support-files/CMakeLists.txt
index 052c0fd57d2..49c49eeff87 100644
--- a/support-files/CMakeLists.txt
+++ b/support-files/CMakeLists.txt
@@ -59,16 +59,20 @@ ENDIF()
IF(UNIX)
SET(prefix ${CMAKE_INSTALL_PREFIX})
- FOREACH(script mysqld_multi.server mysql-log-rotate binary-configure wsrep_notify)
- IF(WITHOUT_SERVER AND (script STREQUAL "wsrep_notify"))
- ELSE()
- CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${script}.sh
- ${CMAKE_CURRENT_BINARY_DIR}/${script} @ONLY )
- INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${script}
- DESTINATION ${inst_location} COMPONENT Server_Scripts)
- ENDIF()
+ FOREACH(script mysqld_multi.server mysql-log-rotate binary-configure)
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${script}.sh
+ ${CMAKE_CURRENT_BINARY_DIR}/${script} @ONLY )
+ INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${script}
+ DESTINATION ${inst_location} COMPONENT Server_Scripts)
ENDFOREACH()
+ IF(NOT WITHOUT_SERVER)
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/wsrep_notify.sh
+ ${CMAKE_CURRENT_BINARY_DIR}/wsrep_notify @ONLY )
+ INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/wsrep_notify
+ DESTINATION ${inst_location} COMPONENT Server_Scripts)
+ ENDIF()
+
IF(INSTALL_SUPPORTFILESDIR)
INSTALL(FILES magic DESTINATION ${inst_location} COMPONENT SupportFiles)
INSTALL(DIRECTORY policy DESTINATION ${inst_location} COMPONENT SupportFiles)