summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-11-10 14:40:45 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-11-10 14:40:54 (GMT)
commit781114e792154a7e81431b91c5d6f6ae43c3adad (patch)
tree470b2633efc23ce8a027dd8f3382619820468994 /Modules
parentcb5cf3f04d8f72a34c60dd390e3e9ddd8a3fda95 (diff)
parentbb2ebbf2412ef9343f50a45868459ffb95fa9081 (diff)
downloadCMake-781114e792154a7e81431b91c5d6f6ae43c3adad.zip
CMake-781114e792154a7e81431b91c5d6f6ae43c3adad.tar.gz
CMake-781114e792154a7e81431b91c5d6f6ae43c3adad.tar.bz2
Merge topic 'python3.10'
bb2ebbf241 FindPython{Interp,Libs}: Add support for version 3.10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5482
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindPythonInterp.cmake2
-rw-r--r--Modules/FindPythonLibs.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindPythonInterp.cmake b/Modules/FindPythonInterp.cmake
index 1e01a99..efe0f11 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.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+set(_PYTHON3_VERSIONS 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)
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index d3ec7be..396f0d2 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/Modules/FindPythonLibs.cmake
@@ -79,7 +79,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.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+set(_PYTHON3_VERSIONS 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)