From 98ee6bb73110d437e72b7a72cb8da4b51241d93a Mon Sep 17 00:00:00 2001 From: Manuel Grizonnet <manuel.grizonnet@orfeo-toolbox.org> Date: Fri, 5 Jun 2015 12:45:20 +0200 Subject: [PATCH] ENH: allow to build OTB examples with superbuild --- SuperBuild/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SuperBuild/CMakeLists.txt b/SuperBuild/CMakeLists.txt index 333259e3e1..f6b42039e0 100644 --- a/SuperBuild/CMakeLists.txt +++ b/SuperBuild/CMakeLists.txt @@ -13,7 +13,7 @@ include(ExternalProject) # TODO BUILD_TESTING is created by default by CTest.cmake, and is ON by default. -option(BUILD_TESTING "Build OTB tests in Superbuild." OFF) +option(BUILD_TESTING "Build the testing tree." OFF) include(CTest) include(SuperBuild_Macro) @@ -26,6 +26,8 @@ mark_as_advanced(DOWNLOAD_LOCATION) # General options option(ENABLE_OTB_LARGE_INPUTS " Use the OTB-LargeInputs for testing" OFF) +option(BUILD_EXAMPLES " Build the OTB Examples directory" OFF) + # check if superbuild is in OTB source or in stand-alone mode set(SUPERBUILD_IN_OTB_TREE OFF) -- GitLab