FindPython: add support for Python 3.13

Python 3.13.0a0 can be built from main branch of python/cpython though
there were no official releases yet.
This commit is contained in:
Vasily Ryabov
2023-08-14 10:03:20 +03:00
committed by Brad King
parent f3d9a82110
commit dfab044c44
3 changed files with 3 additions and 3 deletions

View File

@@ -92,7 +92,7 @@ set(CMAKE_FIND_FRAMEWORK LAST)
set(_PYTHON1_VERSIONS 1.6 1.5)
set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
set(_PYTHON3_VERSIONS 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
set(_PYTHON3_VERSIONS 3.13 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
if(PythonLibs_FIND_VERSION)
if(PythonLibs_FIND_VERSION_COUNT GREATER 1)