]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: add support for python 3.10 43630/head
authorKai Kang <Kai.Kang@windriver.com>
Fri, 22 Oct 2021 06:59:28 +0000 (14:59 +0800)
committerKai Kang <Kai.Kang@windriver.com>
Fri, 22 Oct 2021 06:59:28 +0000 (14:59 +0800)
Signed-off-by: Kai Kang <Kai.Kang@windriver.com>
cmake/modules/FindPython/Support.cmake

index c05bbe33062d90f1ab4a9a7861949168ea428ff4..fb362bfe21cf3def3f463aef510dd9324b9a17fd 100644 (file)
@@ -17,7 +17,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()