Commit e978dba7 authored by Emmanuel Christophe's avatar Emmanuel Christophe

COMP: fix fltk option to appear

parent adea303d
......@@ -265,10 +265,10 @@ IF(OTB_USE_VISU_GUI)
FIND_PACKAGE(OpenGL)
IF( NOT OPENGL_FOUND )
MESSAGE(FATAL_ERROR "Impossible to find OpenGL on your system.\nCannot build OTB Visu module without OpenGL library.\nInstall OpenGL on your system OR set OTB_USE_VISU to OFF to disable OTB Visu module generation !")
MESSAGE(FATAL_ERROR "Impossible to find OpenGL on your system.\nCannot build OTB Visu module without OpenGL library.\nInstall OpenGL on your system OR set OTB_USE_VISU_GUI to OFF to disable OTB Visu module generation !")
ENDIF( NOT OPENGL_FOUND )
IF( NOT OPENGL_GLU_FOUND )
MESSAGE(FATAL_ERROR "Impossible to find GLU library on your system.\nCannot build OTB Visu module without GLU library.\nInstall GLU library on your system OR set OTB_USE_VISU to OFF to disable OTB Visu module generation !")
MESSAGE(FATAL_ERROR "Impossible to find GLU library on your system.\nCannot build OTB Visu module without GLU library.\nInstall GLU library on your system OR set OTB_USE_VISU_GUI to OFF to disable OTB Visu module generation !")
ENDIF( NOT OPENGL_GLU_FOUND )
IF(OPENGL_INCLUDE_DIR)
......@@ -290,11 +290,11 @@ IF(OTB_USE_VISU_GUI)
FIND_PACKAGE(FLTK)
# If an external fltk is found, do not provide the internal fltk choice
IF(NOT FLTK_FOUND)
IF(FLTK_FOUND)
OPTION(OTB_USE_EXTERNAL_FLTK "Use an outside build of FLTK." ON)
ELSE(FLTK_FOUND)
OPTION(OTB_USE_EXTERNAL_FLTK "Use an outside build of FLTK." OFF)
ELSE(NOT FLTK_FOUND)
SET(OTB_USE_EXTERNAL_FLTK ON)
ENDIF(NOT FLTK_FOUND)
ENDIF(FLTK_FOUND)
# IF(FLTK_FOUND)
# SET(OTB_USE_EXTERNAL_FLTK ON)
......
......@@ -154,7 +154,7 @@ int main(int argc, char * argv[])
//
// After generating the dem image as in the DEMToImageGenerator example, you can declare
// the hill shading mechanism. The hill shading is implemented as a functor doing some
// operations in its neighorhood. This functor is used in the
// operations in its neighborhood. This functor is used in the
// \doxygen{otb}{UnaryFunctorNeighborhoodImageFilter} that will be in charge of processing
// the whole image.
//
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment