From: Kornel Benko Date: Wed, 22 Aug 2012 11:57:43 +0000 (+0200) Subject: cmake build: Add msgfmt po-checking X-Git-Tag: 2.1.0beta1~1575 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d67bd17b34acb4d5897913260f776de0ffdd438b;p=lyx.git cmake build: Add msgfmt po-checking --- diff --git a/development/cmake/modules/FindLyXGettext.cmake b/development/cmake/modules/FindLyXGettext.cmake index 33d906bd36..80a9093002 100755 --- a/development/cmake/modules/FindLyXGettext.cmake +++ b/development/cmake/modules/FindLyXGettext.cmake @@ -49,7 +49,7 @@ MACRO(GETTEXT_CREATE_TRANSLATIONS _potFile _firstPoFile) ADD_CUSTOM_COMMAND( OUTPUT ${_gmoFile} COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --quiet --update --backup=none ${_absFile} ${_absPotFile} - COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${_gmoFile} ${_absFile} + COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -c --statistics -o ${_gmoFile} ${_absFile} DEPENDS ${_absPotFile} ${_absFile} )