From 7fd661f06bc565967e34fdc8fa391beb0d37bc7a Mon Sep 17 00:00:00 2001 From: "Steven A. Falco" Date: Fri, 29 May 2020 11:00:12 -0400 Subject: [PATCH] Add Python 3.9 compatibility Taken from downstream Fedora commit. Original author info: Charalampos Stratakis 2020-05-28 12:26:59 Downstream commit: a2677c159ad529 --- CMakeModules/FindPythonLibs.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeModules/FindPythonLibs.cmake b/CMakeModules/FindPythonLibs.cmake index 158df7bbff..48bc46f151 100644 --- a/CMakeModules/FindPythonLibs.cmake +++ b/CMakeModules/FindPythonLibs.cmake @@ -44,7 +44,7 @@ cmake_find_frameworks(Python) 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.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0) +set(_PYTHON3_VERSIONS 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 MATCHES "^[0-9]+\\.[0-9]+(\\.[0-9]+.*)?$")