diff --git a/SuperBuild/CMake/External_otb.cmake b/SuperBuild/CMake/External_otb.cmake index 621cf64550152d0ab7937dac20318bf412803f04..9e0606dd01a81baa199cf4ac267bd7ae499fd434 100644 --- a/SuperBuild/CMake/External_otb.cmake +++ b/SuperBuild/CMake/External_otb.cmake @@ -216,6 +216,8 @@ ExternalProject_Add(OTB -DOTB_WRAP_PYTHON:BOOL=${OTB_WRAP_PYTHON} -DOTB_WRAP_PYTHON3:BOOL=${OTB_WRAP_PYTHON3} -DOTB_WRAP_JAVA:BOOL=${OTB_WRAP_JAVA} + -DOTB_USE_MPI:BOOL=${OTB_USE_MPI} + -DOTB_USE_SPTW:BOOL=${OTB_USE_SPTW} ${OTB_ADDITIONAL_CACHE} CMAKE_ARGS ${OTB_SB_CONFIG} CMAKE_COMMAND ${SB_CMAKE_COMMAND} diff --git a/SuperBuild/CMakeLists.txt b/SuperBuild/CMakeLists.txt index a4e5db17ac8fde26415c48acfd96e8b1a058689c..514783bbd114f63208d67541ae5e43e8defef18f 100644 --- a/SuperBuild/CMakeLists.txt +++ b/SuperBuild/CMakeLists.txt @@ -332,6 +332,9 @@ option(OTB_USE_SHARK "Enable module Shark in OTB" ON) option(OTB_USE_QWT "Enable module QWT in OTB" ON) option(OTB_USE_GSL "Enable module GSL in OTB" ON) +option(OTB_USE_MPI "Enable MPI in OTB" OFF) +option(OTB_USE_SPTW "Enable Simple Parallel Tiff Writer in OTB" OFF) + # set OTB_DATA_ROOT to run test find_path(OTB_DATA_ROOT README-OTB-Data PATHS