Blob Blame History Raw
From b88fe1d479df928a3fd91f74fef1fe8b997d165c Mon Sep 17 00:00:00 2001
From: Karolina Surma <ksurma@redhat.com>
Date: Tue, 23 Apr 2024 10:34:04 +0200
Subject: [PATCH] Add Python 3.13 to cmake config

---
 cmake/FindPythonInterp.cmake | 2 +-
 cmake/FindPythonLibs.cmake   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/FindPythonInterp.cmake b/cmake/FindPythonInterp.cmake
index 7611f7e..f736cc6 100644
--- a/cmake/FindPythonInterp.cmake
+++ b/cmake/FindPythonInterp.cmake
@@ -37,7 +37,7 @@ unset(_Python_NAMES)
 
 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.12 3.11 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.13 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
 
 # Disabling the "search every possible place" code for now
 # see https://gitlab.com/kicad/code/kicad/-/issues/8553
diff --git a/cmake/FindPythonLibs.cmake b/cmake/FindPythonLibs.cmake
index c4a8625..c962088 100644
--- a/cmake/FindPythonLibs.cmake
+++ b/cmake/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.12 3.11 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.13 3.12 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 MATCHES "^[0-9]+\\.[0-9]+(\\.[0-9]+.*)?$")
-- 
2.44.0