Commit b6996fd3 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

SuperBuild: build monteverdi module if asked

parent d4d6fbac
......@@ -87,6 +87,12 @@ if(OTB_USE_GLUT)
ADD_SUPERBUILD_CMAKE_VAR(OTB GLUT_LIBRARY)
endif()
if(OTB_USE_QWT)
ADDTO_DEPENDENCIES_IF_NOT_SYSTEM(OTB QWT)
ADD_SUPERBUILD_CMAKE_VAR(OTB QWT_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(OTB QWT_LIBRARY)
endif()
ADD_SUPERBUILD_CMAKE_VAR(OTB GDAL_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(OTB GDAL_LIBRARY)
......@@ -148,10 +154,13 @@ ExternalProject_Add(OTB
-DOTB_USE_GLEW:BOOL=${OTB_USE_GLEW}
-DOTB_USE_GLFW:BOOL=${OTB_USE_GLFW}
-DOTB_USE_GLUT:BOOL=${OTB_USE_GLUT}
${OTB_SB_CONFIG}
${OTB_SB_LARGEINPUT_CONFIG}
-DOTB_USE_QWT:BOOL=${OTB_USE_QWT}
-DModule_OTBMapla:BOOL=${ENABLE_MONTEVERDI}
-DModule_OTBMonteverdi:BOOL=${ENABLE_MONTEVERDI}
-DOTB_WRAP_PYTHON:BOOL=${OTB_WRAP_PYTHON}
-DOTB_WRAP_JAVA:BOOL=${OTB_WRAP_JAVA}
${OTB_SB_CONFIG}
${OTB_SB_LARGEINPUT_CONFIG}
${OTB_ADDITIONAL_CACHE}
CMAKE_COMMAND ${SB_CMAKE_COMMAND}
)
......
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