Skip to content

Commit

Permalink
Automatically respect changes in LINGUAS
Browse files Browse the repository at this point in the history
Since the contents of the LINGUAS file affects which targets are
created, we must tell CMake to reconfigure things if this file changes.
  • Loading branch information
CendioOssman committed Aug 15, 2023
1 parent 08ae84d commit 234ff80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions po/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit 234ff80

Please sign in to comment.