diff options
| author | Brad King <brad.king@kitware.com> | 2022-05-13 12:41:48 (GMT) |
|---|---|---|
| committer | Kitware Robot <kwrobot@kitware.com> | 2022-05-13 12:41:55 (GMT) |
| commit | a0a116693547460fc5edceac1be44533ccd9a407 (patch) | |
| tree | bd2fec765843f25b91f64b255979705a5e4ac85a /Modules/FindPython | |
| parent | 384c7521c4da3cbae92c9da8a2c9de727f123132 (diff) | |
| parent | ca2877c0399cb848e5dd668086652e4b8fe0cd0d (diff) | |
| download | CMake-a0a116693547460fc5edceac1be44533ccd9a407.zip CMake-a0a116693547460fc5edceac1be44533ccd9a407.tar.gz CMake-a0a116693547460fc5edceac1be44533ccd9a407.tar.bz2 | |
Merge topic 'FindPython-3.12' into release-3.23
ca2877c039 FindPython: add support for Python 3.12
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7255
Diffstat (limited to 'Modules/FindPython')
| -rw-r--r-- | Modules/FindPython/Support.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPython/Support.cmake b/Modules/FindPython/Support.cmake index 6edfbea..cbb6c1c 100644 --- a/Modules/FindPython/Support.cmake +++ b/Modules/FindPython/Support.cmake @@ -22,7 +22,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.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.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() |
