From 1973c09113c9357709b5005c88dea136f7b4cf3c Mon Sep 17 00:00:00 2001
From: Antoine Lorence <antoine.lorence@insa-rennes.fr>
Date: Wed, 19 Nov 2014 15:20:38 +0100
Subject: [PATCH] [CMake] Add missing Qwt include on the top level
 CMakeLists...

and improve messages, remove useless comments
---
 CMakeLists.txt | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ab826aa..141c031 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,15 +14,19 @@ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/lib/detiq-t AND IS_DIRECTORY ${CMAKE_CURRE
 	add_subdirectory(lib/detiq-t)
 	include_directories(lib/detiq-t/ImageIn lib/detiq-t/GenericInterface)
 else()
-	message(FATAL_ERROR "The Detiq-T project should be cloned before excuting this compilation. "
+	message(FATAL_ERROR "The Detiq-T project should be cloned before executing this compilation. "
 		"Please use 'git submodule init' and 'git submodule update' to automatically get the source "
-		"for Detiq-T, and re-run CMake.")
+		"for Detiq-T (ImageIn & GenericInterface libraries), and re-run CMake.")
 endif()
 
+# Simple inclusion, more control have already been performed
+# in previous Detiq-T lookup (GenericInterface)
+find_package(Qwt 6.0)
+include_directories(${QWT_INCLUDE_DIRS})
+
 add_subdirectory(core)
 include_directories(core)
 
-# Too much compile errors, have to be fixed:
 add_subdirectory(plugins)
 add_subdirectory(app)
 
-- 
GitLab