[latexila] CMake: improve messages for Vala



commit ffac6eee5b0e731e4aad192dc3ab450d23d4bbff
Author: SÃbastien Wilmet <swilmet src gnome org>
Date:   Wed Jul 18 23:53:19 2012 +0200

    CMake: improve messages for Vala

 CMakeLists.txt        |    2 +-
 cmake/find_vala.cmake |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 830bad8..fd3ec53 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -50,7 +50,7 @@ if (BUILD_VALA)
 		if ((NOT VALA_FOUND) OR
 		    ("${VALA_VERSION}" VERSION_LESS "${_vala_min_version}"))
 			message (FATAL_ERROR
-				"Vala ${_vala_main_version}.x >= ${_vala_min_version} required")
+				"valac-${_vala_main_version} >= ${_vala_min_version} required")
 		endif ()
 	endif ()
 endif ()
diff --git a/cmake/find_vala.cmake b/cmake/find_vala.cmake
index f999b03..9fcbbc9 100644
--- a/cmake/find_vala.cmake
+++ b/cmake/find_vala.cmake
@@ -10,7 +10,7 @@
 #
 #	if ((NOT VALA_FOUND) OR
 #	    ("${VALA_VERSION}" VERSION_LESS "0.12.1"))
-#		message (FATAL_ERROR "Vala 0.12.x >= 0.12.1 required")
+#		message (FATAL_ERROR "valac-0.12 >= 0.12.1 required")
 #	endif ()
 #
 # VALA_FOUND is always set.
@@ -43,7 +43,7 @@ function (find_vala version_required)
 		set (VALA_VERSION ${_vala_version} PARENT_SCOPE)
 		mark_as_advanced (VALA_VERSION)
 
-		message (STATUS "Vala ${_vala_version} found")
+		message (STATUS "Found Vala: ${_vala_executable} (found version \"${_vala_version}\")")
 	else ()
 		set (VALA_FOUND false PARENT_SCOPE)
 		mark_as_advanced (VALA_FOUND)



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