BUG: fix #8122, _firstPoFile was not empty because it was no real variable

but just a macro argument -> make it a real variable

Alex
This commit is contained in:
Alexander Neundorf 2009-01-10 08:39:35 -05:00
parent 0f38be1561
commit b4956a574a
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,9 @@ FIND_PROGRAM(GETTEXT_MSGMERGE_EXECUTABLE msgmerge)
FIND_PROGRAM(GETTEXT_MSGFMT_EXECUTABLE msgfmt)
MACRO(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFile)
MACRO(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFileArg)
# make it a real variable, so we can modify it here
SET(_firstPoFile "${_firstPoFileArg}")
SET(_gmoFiles)
GET_FILENAME_COMPONENT(_potBasename ${_potFile} NAME_WE)