diff --git a/SuperBuild/CMake/External_otb.cmake b/SuperBuild/CMake/External_otb.cmake index 9e0606dd01a81baa199cf4ac267bd7ae499fd434..987f301a165564e91a32b052263f54e227ac395a 100644 --- a/SuperBuild/CMake/External_otb.cmake +++ b/SuperBuild/CMake/External_otb.cmake @@ -150,7 +150,7 @@ ADD_SUPERBUILD_CMAKE_VAR(OTB Boost_LIBRARY_DIR) set(OTB_MODULES_CONFIG) if(WITH_REMOTE_MODULES) - foreach(remote_module SertitObject Mosaic otbGRM OTBFFSforGMM) + foreach(remote_module SertitObject Mosaic otbGRM OTBFFSforGMM DiapOTBModule) list(APPEND OTB_MODULES_CONFIG -DModule_${remote_module}:BOOL=ON) endforeach()