summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
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)