From 86e3d3e848f4eadf508f304cf0ca431a7f3ef36a Mon Sep 17 00:00:00 2001
From: Thomas Feuvrier <thomas.feuvrier@c-s.fr>
Date: Wed, 26 Sep 2007 12:35:36 +0000
Subject: [PATCH] =?UTF-8?q?Suppression=20de=20l'appel=20=C3=A0=20FIND=5FPA?=
 =?UTF-8?q?CKAGE(OTB)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Examples/Tutorials/CMakeLists.txt | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/Examples/Tutorials/CMakeLists.txt b/Examples/Tutorials/CMakeLists.txt
index 2830d40926..c233c72aea 100644
--- a/Examples/Tutorials/CMakeLists.txt
+++ b/Examples/Tutorials/CMakeLists.txt
@@ -1,12 +1,5 @@
-PROJECT(HelloWorld)
-
-FIND_PACKAGE(OTB)
-IF(OTB_FOUND)
-  INCLUDE(${OTB_USE_FILE})
-ELSE(OTB_FOUND)
-  MESSAGE(FATAL_ERROR
-      "Cannot build OTB project without OTB.  Please set OTB_DIR.")
-ENDIF(OTB_FOUND)
+PROJECT(TutorialsExamples)
+INCLUDE_REGULAR_EXPRESSION("^.*$")
 
 ADD_EXECUTABLE(HelloWorldOTB HelloWorldOTB.cxx )
 TARGET_LINK_LIBRARIES(HelloWorldOTB OTBCommon OTBIO)
@@ -24,4 +17,4 @@ ADD_EXECUTABLE(SmarterFilteringPipeline SmarterFilteringPipeline.cxx )
 TARGET_LINK_LIBRARIES(SmarterFilteringPipeline OTBCommon OTBIO)
 
 ADD_EXECUTABLE(SimpleViewer SimpleViewer.cxx )
-TARGET_LINK_LIBRARIES(SimpleViewer OTBCommon OTBIO OTBGui OTBVisu)
\ No newline at end of file
+TARGET_LINK_LIBRARIES(SimpleViewer OTBCommon OTBIO OTBGui OTBVisu)
-- 
GitLab