diff --git a/SuperBuild/CMake/External_otb.cmake b/SuperBuild/CMake/External_otb.cmake index ac4fdb454342bd7eafc054f354c275ea484d9c1e..dd1c0d762fd3fac8517af7198f704d4866cbb3ce 100644 --- a/SuperBuild/CMake/External_otb.cmake +++ b/SuperBuild/CMake/External_otb.cmake @@ -168,6 +168,7 @@ ExternalProject_Add(${proj} -DOTB_USE_MUPARSER:BOOL=${OTB_USE_MUPARSER} -DOTB_USE_MUPARSERX:BOOL=${OTB_USE_MUPARSERX} -DOTB_USE_OPENCV:BOOL=${OTB_USE_OPENCV} + -DOTB_USE_OPENJPEG:BOOL=${OTB_USE_OPENJPEG} -DOTB_USE_QT4:BOOL=${OTB_USE_QT4} -DOTB_USE_SIFTFAST:BOOL=${OTB_USE_SIFTFAST} ${OTB_SB_CONFIG} diff --git a/SuperBuild/CMakeLists.txt b/SuperBuild/CMakeLists.txt index 66d317285b1df4883fd692d60ac86ada21d4aca0..b76da58a1d684f992173b382fe83bfa00e60cfdc 100644 --- a/SuperBuild/CMakeLists.txt +++ b/SuperBuild/CMakeLists.txt @@ -102,7 +102,7 @@ option(OTB_USE_MAPNIK "Enable module Mapnik in OTB" OFF) option(OTB_USE_MUPARSER "Enable module muparser in OTB" ON) option(OTB_USE_MUPARSERX "Enable module muparserX in OTB" ON) option(OTB_USE_OPENCV "Enable module OpenCV in OTB" ON) -option(OTB_USE_OPENJPEG "Enable module openjpeg in OTB" ON) +option(OTB_USE_OPENJPEG "Enable module openjpeg in OTB" OFF) option(OTB_USE_QT4 "Enable module QT4 in OTB" ${ENABLE_QT4}) option(OTB_USE_SIFTFAST "Enable module Siftfast in OTB" ON)