commit 90610dbc0d33e32f5ae888681dad9eabe79d1303
Author: Vincent van Ravesteijn <[email protected]>
Date: Sun Jun 2 15:07:50 2013 +0200
CMake: Make sure the first po file is also processed
diff --git a/development/cmake/modules/FindLyXGettext.cmake
b/development/cmake/modules/FindLyXGettext.cmake
index 2105068..3770c5e 100755
--- a/development/cmake/modules/FindLyXGettext.cmake
+++ b/development/cmake/modules/FindLyXGettext.cmake
@@ -40,7 +40,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)