summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython
diff options
context:
space:
mode:
authorVasily Ryabov <vasily.v.ryabov@gmail.com>2023-08-14 07:03:20 (GMT)
committerBrad King <brad.king@kitware.com>2023-08-15 13:39:43 (GMT)
commitdfab044c44caa1911cc2573341e369b6b0ec47fe (patch)
tree03e8967e457f00d06912e3e43d5cf984e68db643 /Modules/FindPython
parentf3d9a8211042c3df043d886f2217a705a62168a8 (diff)
downloadCMake-dfab044c44caa1911cc2573341e369b6b0ec47fe.zip
CMake-dfab044c44caa1911cc2573341e369b6b0ec47fe.tar.gz
CMake-dfab044c44caa1911cc2573341e369b6b0ec47fe.tar.bz2
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.
Diffstat (limited to 'Modules/FindPython')
-rw-r--r--Modules/FindPython/Support.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPython/Support.cmake b/Modules/FindPython/Support.cmake
index f78433d..d483d7f 100644
--- a/Modules/FindPython/Support.cmake
+++ b/Modules/FindPython/Support.cmake
@@ -28,7 +28,7 @@ if (NOT DEFINED _${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR)
message (FATAL_ERROR "FindPython: INTERNAL ERROR")
endif()
if (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL "3")
- set(_${_PYTHON_PREFIX}_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(_${_PYTHON_PREFIX}_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)
elseif (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL "2")
set(_${_PYTHON_PREFIX}_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
else()