summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2022-04-27 09:08:01 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2022-04-27 09:08:01 +0200
commit03e703fd74b43ffd27e858e03e9d147029de086e (patch)
tree2dca37400b74c9e463a5828a2d328aa41664d98b /scripts
parent6350a52445aa5e4d203b80c729e01b7d68bf4f13 (diff)
downloadmariadb-git-03e703fd74b43ffd27e858e03e9d147029de086e.tar.gz
Fix build dependency.
Recreate mysql_sys_schema.sql, whenever one of its source files changes.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/sys_schema/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/sys_schema/CMakeLists.txt b/scripts/sys_schema/CMakeLists.txt
index f2f206a1a93..ccb268cc4fd 100644
--- a/scripts/sys_schema/CMakeLists.txt
+++ b/scripts/sys_schema/CMakeLists.txt
@@ -167,6 +167,7 @@ SET(files
${CMAKE_CURRENT_SOURCE_DIR}/after_setup.sql)
ENDIF()
+SET_PROPERTY(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${files})
SET(CMAKE_CONFIGURABLE_FILE_CONTENT)
FOREACH(f ${files})