From 234ff80470a4eadc517f28c968d35dcd445d1d30 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 15 Aug 2023 16:47:14 +0200 Subject: [PATCH] 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. --- po/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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") -- 2.39.5