mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
libopenshot: force python 3.8
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From a4d9aa58d1b61dacda7fb64e13328f3a240f17f0 Mon Sep 17 00:00:00 2001
|
||||
From e901218528cd2e092f64dc68cf2f07364fd83124 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 2 May 2020 21:02:14 +1000
|
||||
Subject: Fix build for Haiku
|
||||
@@ -99,5 +99,30 @@ index 21405f6..c1f48b8 100644
|
||||
message("PYTHON_MODULE_PATH: ${PYTHON_MODULE_PATH}")
|
||||
|
||||
--
|
||||
2.26.0
|
||||
2.30.0
|
||||
|
||||
|
||||
From 9044a47bf07689978e659e05aab620ccf2615463 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Tue, 26 Jan 2021 19:11:27 +0100
|
||||
Subject: Force python 3.8
|
||||
|
||||
|
||||
diff --git a/src/bindings/python/CMakeLists.txt b/src/bindings/python/CMakeLists.txt
|
||||
index c1f48b8..14bda02 100644
|
||||
--- a/src/bindings/python/CMakeLists.txt
|
||||
+++ b/src/bindings/python/CMakeLists.txt
|
||||
@@ -37,8 +37,8 @@ if (POLICY CMP0086)
|
||||
cmake_policy(SET CMP0086 OLD)
|
||||
endif()
|
||||
|
||||
-FIND_PACKAGE(PythonInterp 3)
|
||||
-FIND_PACKAGE(PythonLibs 3)
|
||||
+FIND_PACKAGE(PythonInterp 3.8)
|
||||
+FIND_PACKAGE(PythonLibs 3.8)
|
||||
if (PYTHONLIBS_FOUND AND PYTHONINTERP_FOUND)
|
||||
|
||||
### Include Python header files
|
||||
--
|
||||
2.30.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user