Commit 30878bcf authored by Thomas Feuvrier's avatar Thomas Feuvrier

Ajout variable OTB_VISU_GUI_LIBRARIES dans OTBConfig.cmake. Variable utilisée par les Applications.

parent eae20c7f
......@@ -142,6 +142,14 @@ IF(OTB_USE_VISU_GUI)
ENDIF(OTB_USE_VISU_GUI)
IF(OTB_USE_VISU_GUI)
SET(OTB_VISU_GUI_LIBRARIES "${FLTK_LIBRARIES};${OPENGL_LIBRARIES}")
ELSE(OTB_USE_VISU_GUI)
SET(OTB_VISU_GUI_LIBRARIES "")
ENDIF(OTB_USE_VISU_GUI)
MESSAGE("OTB_VISU_GUI_LIBRARIES -> ${OTB_VISU_GUI_LIBRARIES}")
#-------------------------------
# End connections whith external libraries
......@@ -633,3 +641,7 @@ ELSE("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 1.7)
"Please upgrade to CMake 1.8.")
ENDIF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 1.7)
# Set the FLTK and OpenGL libraries use by OTB
......@@ -65,3 +65,5 @@ SET(OTB_VXL_DIR "@OTB_VXL_DIR@")
SET(OTB_FLTK_FLUID_EXECUTABLE "@FLTK_FLUID_EXECUTABLE@")
SET(OTB_ITK_DIR "@ITK_DIR@")
SET(OTB_VISU_GUI_LIBRARIES "@OTB_VISU_GUI_LIBRARIES@")
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