From 1caeefdcd95fa37fc20190e7b9d2e5af78516fa4 Mon Sep 17 00:00:00 2001
From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org>
Date: Wed, 11 Jun 2008 10:01:44 +0000
Subject: [PATCH] Deplacement de l'option BUILD_TESTING (pour prendre en compte
 le OFF)

---
 CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 53220bbce8..dd1318b909 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -63,6 +63,8 @@ SET(OTB_VERSION_PATCH "1")
 # enough to distinguish available features of the toolkit.
 SET(OTB_VERSION_STRING "${OTB_VERSION_MAJOR}.${OTB_VERSION_MINOR}.${OTB_VERSION_PATCH}")
 
+OPTION(BUILD_TESTING "Build testing." OFF)
+
 #-----------------------------------------------------------------------------
 # FIND EXTERNAL LIBRAIRIES USE
 
@@ -474,7 +476,7 @@ SET(OTB_ALLS_UTILITIES_DEPENDENT_LIBRARIES "${OTB_IO_UTILITIES_DEPENDENT_LIBRARI
 
 OPTION(BUILD_EXAMPLES "Build the Examples directory." OFF)
 OPTION(BUILD_EXAMPLES_TESTING "Build the Examples testing." OFF)
-OPTION(BUILD_TESTING "Build testing." OFF)
+
 
 #-----------------------------------------------------------------------------
 # Dispatch the build into the proper subdirectories.
-- 
GitLab