From 3b283523dc8e29a00a8366b12e78341563b840fa Mon Sep 17 00:00:00 2001
From: Thomas Feuvrier <thomas.feuvrier@c-s.fr>
Date: Wed, 4 Jun 2008 14:02:16 +0000
Subject: [PATCH] Remplacement OTB_USE_VISU par OTB_USE_VISU_GUI

---
 Examples/CMakeLists.txt           | 8 ++++----
 Examples/Tutorials/CMakeLists.txt | 4 ++--
 README                            | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Examples/CMakeLists.txt b/Examples/CMakeLists.txt
index f5b94d11d0..545a14d606 100644
--- a/Examples/CMakeLists.txt
+++ b/Examples/CMakeLists.txt
@@ -26,9 +26,9 @@ SUBDIRS(
   Markov
 )
 
-IF(OTB_USE_VISU)
+IF(OTB_USE_VISU_GUI)
         SUBDIRS(Visu)
-ENDIF(OTB_USE_VISU)
+ENDIF(OTB_USE_VISU_GUI)
 
 IF(OTB_USE_PATENTED)
   SUBDIRS( Patented )
@@ -82,9 +82,9 @@ ELSE(OTB_BINARY_DIR)
         Markov
         )
 
-    IF(OTB_USE_VISU)
+    IF(OTB_USE_VISU_GUI)
         SUBDIRS(Visu)
-    ENDIF(OTB_USE_VISU)
+    ENDIF(OTB_USE_VISU_GUI)
 
     IF(OTB_USE_PATENTED)
         SUBDIRS( Patented )
diff --git a/Examples/Tutorials/CMakeLists.txt b/Examples/Tutorials/CMakeLists.txt
index 9888920ebd..5848765b5f 100644
--- a/Examples/Tutorials/CMakeLists.txt
+++ b/Examples/Tutorials/CMakeLists.txt
@@ -21,10 +21,10 @@ TARGET_LINK_LIBRARIES(Multispectral OTBCommon OTBIO)
 ADD_EXECUTABLE(SmarterFilteringPipeline SmarterFilteringPipeline.cxx )
 TARGET_LINK_LIBRARIES(SmarterFilteringPipeline OTBCommon OTBIO)
 
-IF(OTB_USE_VISU)
+IF(OTB_USE_VISU_GUI)
   ADD_EXECUTABLE(SimpleViewer SimpleViewer.cxx )
   TARGET_LINK_LIBRARIES(SimpleViewer OTBCommon OTBIO OTBGui OTBVisu ${OTB_VISU_GUI_LIBRARIES})
-ENDIF(OTB_USE_VISU)
+ENDIF(OTB_USE_VISU_GUI)
 
 ADD_EXECUTABLE(OrthoFusion OrthoFusion.cxx )
 TARGET_LINK_LIBRARIES(OrthoFusion OTBFusion OTBProjections OTBCommon OTBIO)
diff --git a/README b/README
index 9fe12a0c2b..6c39b467ae 100644
--- a/README
+++ b/README
@@ -206,7 +206,7 @@ for details.
 ------------------
 
 Due to an unknown bug, Fltk can't compile on some versions of Cygwin (OpenGL problems).
-Put OTB_USE_VISU to OFF to avoid these problems.
+Put OTB_USE_VISU_GUI to OFF to avoid these problems.
 
 Some bugs can appear while compiling GDAL with JPEG2000 files : disable this format to resolve the problem.
 
-- 
GitLab