From 0a012cc42866ae571b715ed9cc71957ae69c3655 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Sun, 29 Jun 2008 18:58:50 -0400 Subject: [PATCH] BUG: fix 7230: don't ignore first parameter if it's not ALL Alex --- Modules/FindGettext.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindGettext.cmake b/Modules/FindGettext.cmake index d1e3f9b93..99a270505 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)