Skip to content
Snippets Groups Projects
Commit e6fd1752 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Put back python version test in header test

parent bcc021b3
Branches
Tags
No related merge requests found
...@@ -66,6 +66,7 @@ macro( otb_module_headertest _name ) ...@@ -66,6 +66,7 @@ macro( otb_module_headertest _name )
if( NOT ${_name}_THIRD_PARTY if( NOT ${_name}_THIRD_PARTY
AND EXISTS ${${_name}_SOURCE_DIR}/include AND EXISTS ${${_name}_SOURCE_DIR}/include
AND PYTHON_EXECUTABLE AND PYTHON_EXECUTABLE
AND NOT (PYTHON_VERSION_STRING VERSION_LESS 2.6)
AND NOT (${_name} STREQUAL OTBTestKernel) AND NOT (${_name} STREQUAL OTBTestKernel)
AND NOT (CMAKE_GENERATOR MATCHES "^Visual Studio 10.*")) AND NOT (CMAKE_GENERATOR MATCHES "^Visual Studio 10.*"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment