summaryrefslogtreecommitdiff
path: root/Modules/FindPythonLibs.cmake
diff options
context:
space:
mode:
authorTomáš Hrnčiar <tomas.hrnciar@me.com>2021-12-07 14:34:24 +0100
committerBrad King <brad.king@kitware.com>2021-12-07 12:41:01 -0500
commit43844c5d82398c443a7f1d4c7aea23d470d1a6e8 (patch)
treec5942387ee0c403c1d3ae6de775e0de8de500838 /Modules/FindPythonLibs.cmake
parentaa6a33fe54918967f6ffcad30773e01664e8a2b2 (diff)
downloadcmake-43844c5d82398c443a7f1d4c7aea23d470d1a6e8.tar.gz
FindPython: Add support for Python 3.11
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 396f0d2ed4..c0caf347b6 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.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.11 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)