summaryrefslogtreecommitdiff
path: root/Modules/FindPythonInterp.cmake
diff options
context:
space:
mode:
authorMichael Hirsch <scivision@users.noreply.gitlab.kitware.com>2022-05-11 19:02:14 -0400
committerBrad King <brad.king@kitware.com>2022-05-12 10:55:11 -0400
commitca2877c0399cb848e5dd668086652e4b8fe0cd0d (patch)
tree360f8c9d7964f7a96c812bf32637d4c957820dc5 /Modules/FindPythonInterp.cmake
parent2019bf509268e336f4f68ddf0c05dce49dc289c6 (diff)
downloadcmake-ca2877c0399cb848e5dd668086652e4b8fe0cd0d.tar.gz
FindPython: add support for Python 3.12
Diffstat (limited to 'Modules/FindPythonInterp.cmake')
-rw-r--r--Modules/FindPythonInterp.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPythonInterp.cmake b/Modules/FindPythonInterp.cmake
index 4fc40c89dc..7ad358782f 100644
--- a/Modules/FindPythonInterp.cmake
+++ b/Modules/FindPythonInterp.cmake
@@ -54,7 +54,7 @@ unset(_Python_NAMES)
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.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.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(PythonInterp_FIND_VERSION)
if(PythonInterp_FIND_VERSION_COUNT GREATER 1)