Skip to content

Commit 1bbd93e

Browse files
committed
Remove duplicate msgmerge param
1 parent 3dd1843 commit 1bbd93e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

cmake/FindGettext.cmake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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
)

0 commit comments

Comments
 (0)