From 37dff2d38c81ab978e9bc95318e7ad734c0d728c Mon Sep 17 00:00:00 2001 From: Thomas Feuvrier <thomas.feuvrier@c-s.fr> Date: Tue, 6 May 2008 08:02:54 +0000 Subject: [PATCH] Ajout IF( OTB_USE_VISU_GUI) pour compiler FLTK en interne --- Utilities/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Utilities/CMakeLists.txt b/Utilities/CMakeLists.txt index e5743b8555..679734fe9a 100755 --- a/Utilities/CMakeLists.txt +++ b/Utilities/CMakeLists.txt @@ -4,9 +4,11 @@ IF(NOT OTB_USE_EXTERNAL_ITK) SUBDIRS( ITK otbopenjpeg) ENDIF(NOT OTB_USE_EXTERNAL_ITK) -IF(NOT OTB_USE_EXTERNAL_FLTK) - SUBDIRS( FLTK ) -ENDIF(NOT OTB_USE_EXTERNAL_FLTK) +IF(OTB_USE_VISU_GUI) + IF(OTB_USE_VISU_GUI AND NOT OTB_USE_EXTERNAL_FLTK) + SUBDIRS( FLTK ) + ENDIF(NOT OTB_USE_EXTERNAL_FLTK) +ENDIF(OTB_USE_VISU_GUI) IF(NOT OTB_USE_EXTERNAL_EXPAT) #SUBDIRS( otbexpat ) -- GitLab