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

SB: add the modification in superbuild

parent 57950386
No related branches found
No related tags found
3 merge requests!648Ci rcjob,!621Release 7.0 (master),!562Undefined variable in cmake
Pipeline #2319 passed
...@@ -385,7 +385,7 @@ set ( Python_ADDITIONAL_VERSIONS "3;2" ) ...@@ -385,7 +385,7 @@ set ( Python_ADDITIONAL_VERSIONS "3;2" )
set ( PythonInterp_FIND_REQUIRED ${OTB_WRAP_PYTHON} ) set ( PythonInterp_FIND_REQUIRED ${OTB_WRAP_PYTHON} )
set ( PythonLibs_FIND_REQUIRED ${OTB_WRAP_PYTHON} ) set ( PythonLibs_FIND_REQUIRED ${OTB_WRAP_PYTHON} )
find_package( PythonInterp ) find_package( PythonInterp )
if ( OTB_WRAP_PYTHON AND ( ${PYTHON_VERSION_MAJOR} EQUAL 2 ) ) if ( OTB_WRAP_PYTHON AND ( "x${PYTHON_VERSION_MAJOR}" STREQUAL "x2" ) )
message (WARNING "Python3 not found. There is no longer support of \ message (WARNING "Python3 not found. There is no longer support of \
wrapping in python2 in OTB, but it can still be used.") wrapping in python2 in OTB, but it can still be used.")
endif() endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment