MDEV-37497 : galera-new-cluster is installed wrong directory in bintar

galera-new-cluster should be installed to INSTALL_BINDIR instead of
INSTALL_SCRIPTDIR on bintars.

Thanks to Daniel Black <daniel@mariadb.org> for fix.
This commit is contained in:
Jan Lindström 2025-08-25 11:54:10 +03:00 committed by Daniel Black
parent 1a446ccc48
commit db64d198da

View File

@ -236,7 +236,7 @@ IF(UNIX AND NOT WITHOUT_SERVER)
INSTALL_SCRIPT(
"${CMAKE_CURRENT_BINARY_DIR}/galera_new_cluster"
DESTINATION ${INSTALL_SCRIPTDIR}
DESTINATION ${INSTALL_BINDIR}
COMPONENT Server
)
ENDIF()