From 127e0b68f66d7ca58df3a9d4ffef005996c17446 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@orfeo-toolbox.org>
Date: Mon, 28 Mar 2011 17:08:33 +0200
Subject: [PATCH] ENH: Adding include directories

---
 CMakeLists.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6785930c56..c75a7f221f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -54,17 +54,19 @@ ENDIF(OTB_FOUND)
 #By default, import the option from the OTB configuration
 SET(BUILD_SHARED_LIBS ${OTB_BUILD_SHARED_LIBS})
 
-ADD_SUBDIRECTORY(Code)
 INCLUDE_DIRECTORIES(
     ${CMAKE_CURRENT_SOURCE_DIR}/Code
     ${CMAKE_CURRENT_SOURCE_DIR}/Code/Core
     ${CMAKE_CURRENT_SOURCE_DIR}/Code/Wrappers
+    ${CMAKE_CURRENT_SOURCE_DIR}/Code/Wrappers/QtWidget
     ${CMAKE_CURRENT_BINARY_DIR}
     ${CMAKE_CURRENT_BINARY_DIR}/Code
     ${CMAKE_CURRENT_BINARY_DIR}/Code/Wrappers
-
+    ${CMAKE_CURRENT_BINARY_DIR}/Code/Wrappers/QtWidget
 )
 
+ADD_SUBDIRECTORY(Code)
+
 # Enable / Disable testing
 OPTION(BUILD_TESTING  "Build testing." OFF)
 
-- 
GitLab