From be1acc94487f395dfb58747c2094e19b7717f03c Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Fri, 10 Apr 2015 11:49:13 +0200
Subject: [PATCH] ENH: superbuild in OTB shouldn't try to build more than OTB

---
 SuperBuild/CMakeLists.txt | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/SuperBuild/CMakeLists.txt b/SuperBuild/CMakeLists.txt
index a0a85a86da..5ff448ff8a 100644
--- a/SuperBuild/CMakeLists.txt
+++ b/SuperBuild/CMakeLists.txt
@@ -22,9 +22,6 @@ mark_as_advanced(DOWNLOAD_LOCATION)
 # General options
 option(ENABLE_QT4 " Use QT4 in the SuperBuild" ON)
 option(ENABLE_OTB_LARGE_INPUTS " Use the OTB-LargeInputs for testing" OFF)
-option(BUILD_ICE "Clone and build ICE" OFF)
-option(BUILD_MONTEVERDI2 "Clone and build Monteverdi2" OFF)
-option(BUILD_MONTEVERDI "Clone and build Monteverdi" OFF)
 
 # check if superbuild is in OTB source or in stand-alone mode
 set(SUPERBUILD_IN_OTB_TREE OFF)
@@ -122,16 +119,3 @@ option(OTB_WRAP_PYTHON "Enable python wrappers for OTB applications (requires SW
 option(OTB_WRAP_JAVA "Enable java wrappers for OTB applications (requires SWIG)" OFF)
 
 include(External_otb)
-
-if(BUILD_ICE)
-  option(BUILD_ICE_APPLICATION "Build the Ice application (requires glfw and glut)" OFF)
-  include(External_ice)
-endif()
-
-if(BUILD_MONTEVERDI2)
-  include(External_monteverdi2)
-endif()
-
-if(BUILD_MONTEVERDI)
-  include(External_monteverdi)
-endif()
-- 
GitLab