Package: libcharon / 5.0.0-5

0001-override-python-version-in-cmake-via-PYVER.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Sebastian Kuzminsky <sebastiankuzminsky@desktopmetal.com>
Date: Tue, 24 May 2022 10:34:13 -0600
Subject: override python version in cmake via PYVER

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f91a93e..1564caa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.18)
 
 if(NOT DEFINED Python_VERSION)
     set(Python_VERSION
-            3.10
+            ${PYVER}
             CACHE STRING "Python Version" FORCE)
     message(STATUS "Setting Python version to ${Python_VERSION}. Set Python_VERSION if you want to compile against an other version.")
 endif()