detect change in locales file

This commit is contained in:
Patrick Nicolas
2024-11-05 20:14:32 +01:00
parent 358f57af41
commit 934c625ef5
+1 -1
View File
@@ -182,7 +182,7 @@ find_program(GETTEXT_MSGFMT_COMMAND msgfmt REQUIRED)
set(MO_FILES)
set(PO_FILES)
file(GLOB PO_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/locale/*")
file(GLOB PO_DIRS CONFIGURE_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/locale/*")
foreach(PO_DIR IN LISTS PO_DIRS)
cmake_path(GET PO_DIR FILENAME LANG)