summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-15 18:36:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-15 18:36:35 (GMT)
commit513c7bf51565210234553e2c6ead0f21eb71e0c6 (patch)
tree409c4d94229686d8dd47a61f8e9f29de170d3f57 /Modules/FindPython
parent2272d256fb811308102ad46f0992ebfc73094ddc (diff)
parentf6474214b39337f0c30e29bb986f93c3de730d4c (diff)
downloadCMake-513c7bf51565210234553e2c6ead0f21eb71e0c6.zip
CMake-513c7bf51565210234553e2c6ead0f21eb71e0c6.tar.gz
CMake-513c7bf51565210234553e2c6ead0f21eb71e0c6.tar.bz2
Merge topic 'python39'
f6474214b3 FindPython: Add support for version 3.9 Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Marc Chevrier <marc.chevrier@gmail.com> Acked-by: Björn Esser <besser82@fedoraproject.org> Merge-request: !4225
Diffstat (limited to 'Modules/FindPython')
-rw-r--r--Modules/FindPython/Support.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPython/Support.cmake b/Modules/FindPython/Support.cmake
index 7c20512..7483d72 100644
--- a/Modules/FindPython/Support.cmake
+++ b/Modules/FindPython/Support.cmake
@@ -23,7 +23,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.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+ set(_${_PYTHON_PREFIX}_VERSIONS 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()