From b2c908364cab423c71ccc341ee7f23acf0b90dcf Mon Sep 17 00:00:00 2001 From: David Sansome Date: Wed, 23 Jun 2010 17:03:14 +0000 Subject: [PATCH] Sort and remove duplicates from the .pot --- cmake/Translations.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Translations.cmake b/cmake/Translations.cmake index 4c495bd6d..c87e165ed 100644 --- a/cmake/Translations.cmake +++ b/cmake/Translations.cmake @@ -13,7 +13,7 @@ macro(add_pot header pot) # Generate the .pot add_custom_target(pot ALL COMMAND ${GETTEXT_XGETTEXT_EXECUTABLE} - ${XGETTEXT_OPTIONS} -C --omit-header --no-location + ${XGETTEXT_OPTIONS} -s -C --omit-header --no-location --directory=${CMAKE_CURRENT_SOURCE_DIR} --output=${CMAKE_CURRENT_BINARY_DIR}/pot.temp ${ARGN}