From 29680241379a1b60815c8f0c621a164cbcd49136 Mon Sep 17 00:00:00 2001 From: Antoine Regimbeau <antoine.regimbeau@c-s.fr> Date: Tue, 9 Jul 2019 13:18:40 +0200 Subject: [PATCH] We drop support for python 2.X --- CMake/OTBModuleHeaderTest.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/OTBModuleHeaderTest.cmake b/CMake/OTBModuleHeaderTest.cmake index 20b43b76d4..b902ff7cb5 100644 --- a/CMake/OTBModuleHeaderTest.cmake +++ b/CMake/OTBModuleHeaderTest.cmake @@ -66,7 +66,7 @@ macro( otb_module_headertest _name ) if( NOT ${_name}_THIRD_PARTY AND EXISTS ${${_name}_SOURCE_DIR}/include AND PYTHON_EXECUTABLE - AND NOT (PYTHON_VERSION_STRING VERSION_LESS 2.6) + AND NOT (PYTHON_VERSION_STRING VERSION_LESS 3) AND NOT (${_name} STREQUAL OTBTestKernel) AND NOT (CMAKE_GENERATOR MATCHES "^Visual Studio 10.*")) -- GitLab