diff options
-rw-r--r-- | po/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 4ee62c87..08abb6bf 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -66,16 +66,16 @@ ENDMACRO() SET(languages) +SET(POFILES) FILE(STRINGS LINGUAS _languages) FOREACH(_lang ${_languages}) STRING(REGEX REPLACE "#.*" "" _lang "${_lang}") IF(NOT ${_lang} STREQUAL "") SET(languages ${languages} ${_lang}) + SET(POFILES ${POFILES} "${_lang}.po") ENDIF() ENDFOREACH() -FILE(GLOB POFILES *.po) - ADD_CUSTOM_TARGET(update-po) MANA_GETTEXT_CREATE_TRANSLATIONS(mana.pot ALL ${POFILES}) |