summaryrefslogtreecommitdiffstats
path: root/Modules/FindPythonLibs.cmake
diff options
context:
space:
mode:
authorMiro HronĨok <miro@hroncok.cz>2020-11-09 16:35:13 (GMT)
committerBrad King <brad.king@kitware.com>2020-11-09 16:44:13 (GMT)
commitbb2ebbf2412ef9343f50a45868459ffb95fa9081 (patch)
tree22bf1a7d67edfd895b6e0e63911c49baaae0f194 /Modules/FindPythonLibs.cmake
parent7a04f45722b2cbe51e1586cd84d2c5ad90e759ed (diff)
downloadCMake-bb2ebbf2412ef9343f50a45868459ffb95fa9081.zip
CMake-bb2ebbf2412ef9343f50a45868459ffb95fa9081.tar.gz
CMake-bb2ebbf2412ef9343f50a45868459ffb95fa9081.tar.bz2
FindPython{Interp,Libs}: Add support for version 3.10
Extend the change from commit 23cd98a66a (FindPython: Add support of version 3.10, 2020-10-16, v3.19.0-rc2~25^2) to cover the legacy `FindPython{Interp,Libs}` modules too.
Diffstat (limited to 'Modules/FindPythonLibs.cmake')
-rw-r--r--Modules/FindPythonLibs.cmake2
1 files changed, 1 insertions, 1 deletions
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)