summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2019-05-27 10:21:04 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2019-05-27 10:21:04 +0000
commiteaf3721f1f1acc8b310a3de0a594ee6a97312504 (patch)
tree5da6debd26febeafbcdb821af9881e3c92f0d853 /CMakeScripts
parentRevert back to using Gio::APPLICATION_NON_UNIQUE. See commit for reasons. (diff)
parentFix translations (diff)
downloadinkscape-eaf3721f1f1acc8b310a3de0a594ee6a97312504.tar.gz
inkscape-eaf3721f1f1acc8b310a3de0a594ee6a97312504.zip
Merge branch 'xgettextMigration'
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/DefineDependsandFlags.cmake9
1 files changed, 4 insertions, 5 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake
index 84a1c2f07..e1f6ca2b9 100644
--- a/CMakeScripts/DefineDependsandFlags.cmake
+++ b/CMakeScripts/DefineDependsandFlags.cmake
@@ -329,12 +329,11 @@ if(WITH_NLS)
else(GETTEXT_FOUND)
message(STATUS "Cannot find gettext + msgfmt to convert language file. Translation won't be enabled")
endif(GETTEXT_FOUND)
-
- find_program(INTLTOOL-UPDATE intltool-update)
- if(INTLTOOL-UPDATE)
- message(STATUS "Found íntltool. inkscape.pot will be re-created if missing.")
+ find_program(GETTEXT_XGETTEXT_EXECUTABLE xgettext)
+ if(GETTEXT_XGETTEXT_EXECUTABLE)
+ message(STATUS "Found xgettext. inkscape.pot will be re-created if missing.")
else()
- message(STATUS "Did not find intltool. inkscape.pot can't be re-created.")
+ message(STATUS "Did not find xgetttext. inkscape.pot can't be re-created.")
endif()
endif(WITH_NLS)