]> source.dussan.org Git - tigervnc.git/commitdiff
Automatically respect changes in LINGUAS
authorPierre Ossman <ossman@cendio.se>
Tue, 15 Aug 2023 14:47:14 +0000 (16:47 +0200)
committerPierre Ossman <ossman@cendio.se>
Tue, 15 Aug 2023 14:47:14 +0000 (16:47 +0200)
Since the contents of the LINGUAS file affects which targets are
created, we must tell CMake to reconfigure things if this file changes.

po/CMakeLists.txt

index 052cfb3fba063b5bdc3cf95bd209c79e1c8b42d8..94f4395ea26d6164ce3634fd8c67623fbdb30a9a 100644 (file)
@@ -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")