Set find Python interpreter minimum version.

This commit is contained in:
Wayne Stambaugh 2021-06-22 08:58:06 -04:00
parent 7efca0113d
commit d30fc811a7
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ include_directories( BEFORE SYSTEM ${PYBIND11_INCLUDE_DIR} )
set( PythonInterp_FIND_VERSION 3.6 )
set( PythonLibs_FIND_VERSION 3.6 )
find_package( PythonInterp )
find_package( PythonInterp ${PythonInterp_FIND_VERSION} )
check_find_package_result( PYTHONINTERP_FOUND "Python Interpreter" )