summaryrefslogtreecommitdiff
path: root/Modules/FindGettext.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-06-29 18:58:50 -0400
committerAlexander Neundorf <neundorf@kde.org>2008-06-29 18:58:50 -0400
commit0a012cc42866ae571b715ed9cc71957ae69c3655 (patch)
treeae8d26fc83b4c7379ec568e5ac1c8ce0f92e2725 /Modules/FindGettext.cmake
parentd50cbe101af8d0cbce9caa9a7dc5cc791d37f95a (diff)
downloadcmake-0a012cc42866ae571b715ed9cc71957ae69c3655.tar.gz
BUG: fix 7230: don't ignore first parameter if it's not ALL
Alex
Diffstat (limited to 'Modules/FindGettext.cmake')
-rw-r--r--Modules/FindGettext.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindGettext.cmake b/Modules/FindGettext.cmake
index d1e3f9b93d..99a2705055 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)