summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2019-05-27 10:49:08 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2019-05-27 10:49:08 +0000
commit2998240db89caabd4c5766f7f57b9a13241f7dc9 (patch)
treef7dc546316eaa36a36a795bc073d955d77762ed7 /CMakeScripts
parentHackfest2019: Rm tautological tests (diff)
parentmerged in master (diff)
downloadinkscape-2998240db89caabd4c5766f7f57b9a13241f7dc9.tar.gz
inkscape-2998240db89caabd4c5766f7f57b9a13241f7dc9.zip
Hackfest2019: Rm tautological tests
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)