@ -904,7 +904,7 @@ function (_PYTHON_VALIDATE_INTERPRETER)
# i n t e r p r e t e r d o e s n o t e x i s t a n y m o r e
set_property ( CACHE _ ${ _PYTHON_PREFIX } _Interpreter_REASON_FAILURE PROPERTY VALUE "Cannot find the interpreter \" ${ _${_PYTHON_PREFIX } _EXECUTABLE}\ "" )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND" )
if ( WIN32 )
if ( WIN32 AND DEFINED CACHE{_ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG} )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND" )
endif ( )
return ( )
@ -935,7 +935,7 @@ function (_PYTHON_VALIDATE_INTERPRETER)
# i n t e r p r e t e r i s n o t u s a b l e
set_property ( CACHE _ ${ _PYTHON_PREFIX } _Interpreter_REASON_FAILURE PROPERTY VALUE "Cannot use the interpreter \" ${ _${_PYTHON_PREFIX } _EXECUTABLE}\ "" )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND" )
if ( WIN32 )
if ( WIN32 AND DEFINED CACHE{_ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG} )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND" )
endif ( )
return ( )
@ -963,6 +963,9 @@ function (_PYTHON_VALIDATE_INTERPRETER)
# i n t e r p r e t e r h a s w r o n g v e r s i o n
set_property ( CACHE _ ${ _PYTHON_PREFIX } _Interpreter_REASON_FAILURE PROPERTY VALUE "Wrong version for the interpreter \" ${ _${_PYTHON_PREFIX } _EXECUTABLE}\ "" )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND" )
if ( WIN32 AND DEFINED CACHE{_ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG} )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND" )
endif ( )
return ( )
else ( )
# c h e c k t h a t v e r s i o n i s O K
@ -972,6 +975,9 @@ function (_PYTHON_VALIDATE_INTERPRETER)
O R N O T v e r s i o n V E R S I O N _ G R E A T E R _ E Q U A L _ P V I _ V E R S I O N )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _Interpreter_REASON_FAILURE PROPERTY VALUE "Wrong version for the interpreter \" ${ _${_PYTHON_PREFIX } _EXECUTABLE}\ "" )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND" )
if ( WIN32 AND DEFINED CACHE{_ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG} )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND" )
endif ( )
return ( )
endif ( )
endif ( )
@ -984,6 +990,9 @@ function (_PYTHON_VALIDATE_INTERPRETER)
# i n t e r p r e t e r h a s i n v a l i d v e r s i o n
set_property ( CACHE _ ${ _PYTHON_PREFIX } _Interpreter_REASON_FAILURE PROPERTY VALUE "Wrong version for the interpreter \" ${ _${_PYTHON_PREFIX } _EXECUTABLE}\ "" )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND" )
if ( WIN32 AND DEFINED CACHE{_ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG} )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND" )
endif ( )
return ( )
endif ( )
endif ( )
@ -1006,6 +1015,9 @@ function (_PYTHON_VALIDATE_INTERPRETER)
set_property ( CACHE _ ${ _PYTHON_PREFIX } _Interpreter_REASON_FAILURE PROPERTY VALUE "Wrong major version for the interpreter \" ${ _${_PYTHON_PREFIX } _EXECUTABLE}\ "" )
endif ( )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND" )
if ( WIN32 AND DEFINED CACHE{_ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG} )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND" )
endif ( )
return ( )
endif ( )
endif ( )
@ -1030,6 +1042,9 @@ function (_PYTHON_VALIDATE_INTERPRETER)
set_property ( CACHE _ ${ _PYTHON_PREFIX } _Interpreter_REASON_FAILURE PROPERTY VALUE "Wrong architecture for the interpreter \" ${ _${_PYTHON_PREFIX } _EXECUTABLE}\ "" )
endif ( )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND" )
if ( WIN32 AND DEFINED CACHE{_ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG} )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND" )
endif ( )
return ( )
endif ( )
@ -1056,6 +1071,9 @@ function (_PYTHON_VALIDATE_INTERPRETER)
set_property ( CACHE _ ${ _PYTHON_PREFIX } _Interpreter_REASON_FAILURE PROPERTY VALUE "Wrong architecture for the interpreter \" ${ _${_PYTHON_PREFIX } _EXECUTABLE}\ "" )
endif ( )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE-NOTFOUND" )
if ( WIN32 AND DEFINED CACHE{_ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG} )
set_property ( CACHE _ ${ _PYTHON_PREFIX } _EXECUTABLE_DEBUG PROPERTY VALUE "${_PYTHON_PREFIX}_EXECUTABLE_DEBUG-NOTFOUND" )
endif ( )
return ( )
endif ( )
endif ( )