From 822a9435d79a3c34e37a442aff44cfc14b60c35e Mon Sep 17 00:00:00 2001
From: Norihiro Watanabe <norihiro.watanabe@ufz.de>
Date: Wed, 4 Jun 2014 19:23:08 +0200
Subject: [PATCH] set include dir for every case

---
 Utils/SimpleMeshCreation/CMakeLists.txt | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/Utils/SimpleMeshCreation/CMakeLists.txt b/Utils/SimpleMeshCreation/CMakeLists.txt
index 7eb838f8bf3..b2ec276f40c 100644
--- a/Utils/SimpleMeshCreation/CMakeLists.txt
+++ b/Utils/SimpleMeshCreation/CMakeLists.txt
@@ -1,15 +1,16 @@
-IF(TARGET VtkVis)
 
-	INCLUDE_DIRECTORIES(
-		${CMAKE_SOURCE_DIR}
-		${CMAKE_SOURCE_DIR}/BaseLib
-		${CMAKE_SOURCE_DIR}/FileIO
-		${CMAKE_SOURCE_DIR}/FileIO/Legacy
-		${CMAKE_SOURCE_DIR}/GeoLib
-		${CMAKE_SOURCE_DIR}/MathLib
-		${CMAKE_SOURCE_DIR}/MeshLib
-		${CMAKE_SOURCE_DIR}/Gui/VtkVis
-	)
+INCLUDE_DIRECTORIES(
+	${CMAKE_SOURCE_DIR}
+	${CMAKE_SOURCE_DIR}/BaseLib
+	${CMAKE_SOURCE_DIR}/FileIO
+	${CMAKE_SOURCE_DIR}/FileIO/Legacy
+	${CMAKE_SOURCE_DIR}/GeoLib
+	${CMAKE_SOURCE_DIR}/MathLib
+	${CMAKE_SOURCE_DIR}/MeshLib
+	${CMAKE_SOURCE_DIR}/Gui/VtkVis
+)
+
+IF(TARGET VtkVis)
 
 	ADD_EXECUTABLE( generateStructuredQuadMesh generateStructuredQuadMesh.cpp )
 	SET_TARGET_PROPERTIES( generateStructuredQuadMesh PROPERTIES FOLDER Utils)
-- 
GitLab