[geary/wip/720315-webkitgtk-2.4] vapigen check



commit 4abb8b124f29d532f0fdc35796bd8695ef7ed9f7
Author: Jim Nelson <jim yorba org>
Date:   Tue Dec 17 17:30:11 2013 -0800

    vapigen check

 src/CMakeLists.txt |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0e2e95b..2acda56 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -397,6 +397,14 @@ include(ValaVersion)
 ensure_vala_version("0.22.1" MINIMUM)
 include(ValaPrecompile)
 
+# Vapigen
+find_program(VAPIGEN vapigen)
+if (VAPIGEN STREQUAL "VAPIGEN-NOTFOUND")
+    message(FATAL_ERROR "vapigen must be installed to build Geary.")
+else ()
+    message(STATUS "Found vapigen: " ${VAPIGEN})
+endif ()
+
 # Packages
 if (LIBMESSAGINGMENU_FOUND)
     message(STATUS "Unity messaging menu support: ON")


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]