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.
This commit is contained in:
Jim Nelson 2012-10-16 20:27:16 -07:00
parent 7c35ed1a79
commit 53b391267e

View file

@ -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)