Sort and remove duplicates from the .pot
This commit is contained in:
parent
68053e791d
commit
b2c908364c
@ -13,7 +13,7 @@ macro(add_pot header pot)
|
|||||||
# Generate the .pot
|
# Generate the .pot
|
||||||
add_custom_target(pot ALL
|
add_custom_target(pot ALL
|
||||||
COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE}
|
COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE}
|
||||||
${XGETTEXT_OPTIONS} -C --omit-header --no-location
|
${XGETTEXT_OPTIONS} -s -C --omit-header --no-location
|
||||||
--directory=${CMAKE_CURRENT_SOURCE_DIR}
|
--directory=${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
--output=${CMAKE_CURRENT_BINARY_DIR}/pot.temp
|
--output=${CMAKE_CURRENT_BINARY_DIR}/pot.temp
|
||||||
${ARGN}
|
${ARGN}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user