diff --git a/CMakeLists.txt b/CMakeLists.txt index 53220bbce8ffabdcff14c364547a056992d6bda3..dd1318b909049c1172c30d2c7208d3e9e80ee8a7 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.