From 53b391267e2dce7daeed8028e989b8b7ce75af0d Mon Sep 17 00:00:00 2001 From: Jim Nelson Date: Tue, 16 Oct 2012 20:27:16 -0700 Subject: [PATCH] Add intltool to CMakeLists: Closes #5993 Since intltool is a collection of programs and not a library, can't use FindPackage to verify. Instead, if not found, the .desktop file CMakeLists will spit out an error and exit. --- desktop/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop/CMakeLists.txt b/desktop/CMakeLists.txt index cb1c676a..eb7ff772 100644 --- a/desktop/CMakeLists.txt +++ b/desktop/CMakeLists.txt @@ -5,6 +5,8 @@ include (FindIntltool) if (INTLTOOL_MERGE_FOUND) INTLTOOL_MERGE_DESKTOP (geary po) +else (INTLTOOL_MERGE_FOUND) + message (FATAL_ERROR "intltool must be installed to generate .desktop file") endif (INTLTOOL_MERGE_FOUND) if (LIBINDICATE_FOUND)