detect change in locales file
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user