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:
parent
7c35ed1a79
commit
53b391267e
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue