diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index ccd431d7..bd4d0764 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -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)