diff --git a/Examples/CMakeLists.txt b/Examples/CMakeLists.txt index f5b94d11d05fa5dd9093cbf6db62f1fcddbf4ebe..545a14d606a31d2d153764a5a3abf373d93af2c6 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 9888920ebd58f298b1d381212fadf7d9c35db3c0..5848765b5f8b449413507802e57ac74013ea19f3 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 9fe12a0c2bb43b8b5335f5742cadb9d9cb75a048..6c39b467ae423954621c448a7856ae81ef244fcb 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.