2017-07-18 16:53:41 +00:00
|
|
|
We have some downstream patches and other scripts that include variables to
|
|
|
|
be expanded by cmake. Cmake needs to know about them, so adding them manually.
|
|
|
|
|
2018-07-10 17:33:27 +00:00
|
|
|
--- mariadb-10.3.8/scripts/CMakeLists.txt 2018-07-02 09:34:11.000000000 +0200
|
|
|
|
+++ mariadb-10.3.8/scripts/CMakeLists.txt_patched 2018-07-03 10:58:15.954670153 +0200
|
|
|
|
@@ -361,6 +361,34 @@ ELSE()
|
|
|
|
COMPONENT ${${file}_COMPONENT}
|
2014-07-21 15:02:00 +00:00
|
|
|
)
|
|
|
|
ENDFOREACH()
|
2018-07-10 17:33:27 +00:00
|
|
|
+
|
2014-07-21 15:02:00 +00:00
|
|
|
+ # files for systemd
|
|
|
|
+ SET(SYSTEMD_SCRIPTS
|
2014-07-24 08:00:33 +00:00
|
|
|
+ mysql.tmpfiles.d
|
|
|
|
+ mysql.service
|
2016-02-08 05:56:32 +00:00
|
|
|
+ mysql@.service
|
2014-07-24 08:00:33 +00:00
|
|
|
+ mysql-prepare-db-dir
|
|
|
|
+ mysql-check-socket
|
2014-09-29 12:34:41 +00:00
|
|
|
+ mysql-check-upgrade
|
2014-07-24 08:00:33 +00:00
|
|
|
+ mysql-scripts-common
|
2014-07-21 15:02:00 +00:00
|
|
|
+ mysql_config_multilib
|
2016-03-22 14:30:08 +00:00
|
|
|
+ clustercheck
|
2017-07-18 16:53:41 +00:00
|
|
|
+ galera_new_cluster
|
2014-07-25 07:00:44 +00:00
|
|
|
+ my.cnf
|
2014-07-21 15:02:00 +00:00
|
|
|
+ )
|
|
|
|
+ FOREACH(file ${SYSTEMD_SCRIPTS})
|
|
|
|
+ IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh)
|
|
|
|
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.sh
|
|
|
|
+ ${CMAKE_CURRENT_BINARY_DIR}/${file} ESCAPE_QUOTES @ONLY)
|
|
|
|
+ ELSEIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${file}.in)
|
|
|
|
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${file}.in
|
|
|
|
+ ${CMAKE_CURRENT_BINARY_DIR}/${file} ESCAPE_QUOTES @ONLY)
|
|
|
|
+ ELSE()
|
|
|
|
+ MESSAGE(FATAL_ERROR "Can not find ${file}.sh or ${file}.in in "
|
|
|
|
+ "${CMAKE_CURRENT_SOURCE_DIR}" )
|
|
|
|
+ ENDIF()
|
|
|
|
+ ENDFOREACH()
|
2017-08-20 22:34:47 +00:00
|
|
|
+
|
2014-07-21 15:02:00 +00:00
|
|
|
ENDIF()
|
|
|
|
|
2017-05-24 09:25:52 +00:00
|
|
|
# Install libgcc as mylibgcc.a
|