File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# - Find GNU gettext tools
2- # This module looks for the GNU gettext tools. This module defines the
2+ # This module looks for the GNU gettext tools. This module defines the
33# following values:
44# GETTEXT_MSGMERGE_EXECUTABLE: the full path to the msgmerge tool.
55# GETTEXT_MSGFMT_EXECUTABLE: the full path to the msgfmt tool.
66# GETTEXT_FOUND: True if gettext has been found.
77#
88# Additionally it provides the following macros:
99# GETTEXT_CREATE_TRANSLATIONS ( outputFile [ALL] file1 ... fileN )
10- # This will create a target "translations" which will convert the
11- # given input po files into the binary output mo file. If the
10+ # This will create a target "translations" which will convert the
11+ # given input po files into the binary output mo file. If the
1212# ALL option is used, the translations will also be created when
1313# building the default target.
1414
@@ -54,9 +54,9 @@ if(Gettext_FOUND)
5454
5555 set (moFile ${destination} /${lang} .mo)
5656
57- add_custom_command (
57+ add_custom_command (
5858 OUTPUT ${moFile}
59- COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --sort-output --no-wrap --quiet --update --backup=none -s ${absFile} ${absPotFile}
59+ COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --sort-output --no-wrap --quiet --update --backup=none ${absFile} ${absPotFile}
6060 COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${moFile} ${absFile}
6161 DEPENDS ${absPotFile} ${absFile}
6262 )
You can’t perform that action at this time.
0 commit comments