diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2020-10-16 09:36:53 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2020-10-16 09:36:53 (GMT) |
commit | 23cd98a66a3eca1cc8e89a77f4fdf406c4f4c113 (patch) | |
tree | bf024f67c10be5d251f5a088e46a6d3fe7bbd3a3 /Modules/FindPython | |
parent | b1d9a25f35a22f41b2c1b87725f091936711a28c (diff) | |
download | CMake-23cd98a66a3eca1cc8e89a77f4fdf406c4f4c113.zip CMake-23cd98a66a3eca1cc8e89a77f4fdf406c4f4c113.tar.gz CMake-23cd98a66a3eca1cc8e89a77f4fdf406c4f4c113.tar.bz2 |
FindPython: Add support of version 3.10
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 7de2d29..2b911ae 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.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0) + set(_${_PYTHON_PREFIX}_VERSIONS 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() |