diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-06-29 22:58:50 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-06-29 22:58:50 (GMT) |
commit | 0a012cc42866ae571b715ed9cc71957ae69c3655 (patch) | |
tree | ae8d26fc83b4c7379ec568e5ac1c8ce0f92e2725 | |
parent | d50cbe101af8d0cbce9caa9a7dc5cc791d37f95a (diff) | |
download | CMake-0a012cc42866ae571b715ed9cc71957ae69c3655.zip CMake-0a012cc42866ae571b715ed9cc71957ae69c3655.tar.gz CMake-0a012cc42866ae571b715ed9cc71957ae69c3655.tar.bz2 |
BUG: fix 7230: don't ignore first parameter if it's not ALL
Alex
-rw-r--r-- | Modules/FindGettext.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindGettext.cmake b/Modules/FindGettext.cmake index d1e3f9b..99a2705 100644 --- a/Modules/FindGettext.cmake +++ b/Modules/FindGettext.cmake @@ -30,7 +30,7 @@ MACRO(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFile) SET(_firstPoFile) ENDIF(${_firstPoFile} STREQUAL "ALL") - FOREACH (_currentPoFile ${ARGN}) + FOREACH (_currentPoFile ${_firstPoFile} ${ARGN}) GET_FILENAME_COMPONENT(_absFile ${_currentPoFile} ABSOLUTE) GET_FILENAME_COMPONENT(_abs_PATH ${_absFile} PATH) GET_FILENAME_COMPONENT(_lang ${_absFile} NAME_WE) |