--- support-files/CMakeLists.txt.orig 2024-07-12 19:15:25 UTC +++ support-files/CMakeLists.txt @@ -25,8 +25,9 @@ ENDIF() RETURN() ENDIF() -INSTALL(FILES mysql.m4 - DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development) +IF(NOT WITHOUT_CLIENTLIBS) + INSTALL(FILES mysql.m4 DESTINATION ${INSTALL_SHAREDIR}/aclocal COMPONENT Development) +ENDIF(NOT WITHOUT_CLIENTLIBS) SET(localstatedir "${MYSQL_DATADIR}") @@ -44,7 +45,7 @@ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql-log-r CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql-log-rotate.in ${CMAKE_CURRENT_BINARY_DIR}/mysql-log-rotate @ONLY) -IF(NOT WITH_SYSTEMD) +IF(NOT WITHOUT_SERVER) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/mysql.server.sh ${CMAKE_CURRENT_BINARY_DIR}/mysql.server @ONLY ) @@ -60,6 +61,7 @@ ENDIF() ) ENDIF() +IF(NOT WITHOUT_SERVER) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mysql-log-rotate COMPONENT Server_Scripts DESTINATION ${INSTALL_SUPPORTFILESDIR} @@ -67,6 +69,7 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mysql-log-ro OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ ) +ENDIF() IF(WITH_ROUTER) IF(NOT WITH_SYSTEMD)