1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Fix the way to find Python 3. The old was deprecated
Author: Marcos Talau <talau@debian.org>
Bug-Debian: https://bugs.debian.org/1113535
Last-Update: 2025-11-01
--- speedcrunch-0.12.0.orig/doc/src/CMakeLists.txt
+++ speedcrunch-0.12.0/doc/src/CMakeLists.txt
@@ -12,7 +12,10 @@ list(APPEND doc_depends
# find Python
-find_package(PythonInterp 3.4 QUIET)
+find_package(Python3 COMPONENTS Interpreter)
+if(Python3_FOUND)
+ set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE})
+endif()
# get a path for qcollectiongenerator
find_package(Qt5Help)
|