aboutsummaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2023-08-15 16:47:14 +0200
committerPierre Ossman <ossman@cendio.se>2023-08-15 16:47:14 +0200
commit234ff80470a4eadc517f28c968d35dcd445d1d30 (patch)
treea337f5bf34b2b8130feef64e9425e5af06741d9b /po
parent08ae84da990771ce60c03f3a5f8d6fd6f6647627 (diff)
downloadtigervnc-234ff80470a4eadc517f28c968d35dcd445d1d30.tar.gz
tigervnc-234ff80470a4eadc517f28c968d35dcd445d1d30.zip
Automatically respect changes in LINGUAS
Since the contents of the LINGUAS file affects which targets are created, we must tell CMake to reconfigure things if this file changes.
Diffstat (limited to 'po')
-rw-r--r--po/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index 052cfb3f..94f4395e 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -1,6 +1,7 @@
# Gettext support - mostly borrowed from the Licq project
file(STRINGS LINGUAS po_FILES)
+set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS LINGUAS)
if (NOT GETTEXT_MSGMERGE_EXECUTABLE AND NOT GETTEXT_MSGFMT_EXECUTABLE)
message(FATAL_ERROR "Gettext message catalog tools NOT found")