summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--po/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index 94625e4da..5abdc91bf 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -28,9 +28,9 @@ add_custom_target(inkscape_desktop ALL DEPENDS ${CMAKE_BINARY_DIR}/inkscape.desk
# update inkscape.pot
if(INTLTOOL-UPDATE)
add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/inkscape.pot
- COMMAND sh -c "${INTLTOOL-UPDATE} --pot && mv untitled.pot ${CMAKE_CURRENT_SOURCE_DIR}/inkscape.pot"
+ COMMAND sh -c "${INTLTOOL-UPDATE} --pot --gettext-package=inkscape"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
- )
+ )
set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/inkscape.pot PROPERTIES GENERATED TRUE)
add_custom_target(inkscape_pot ALL DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/inkscape.pot)