1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: skipping the search of Python3 using the CMake find-package
mechanism. Instead we provide the needed variables in debian/rules. This is
to avoid errors when multiple versions of Python3 are co-installed.
Author: Pierre Gruet <pgt@debian.org>
Forwarded: not-needed
Last-Update: 2022-11-18
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -188,7 +188,9 @@
# Python
- FIND_PACKAGE(Python3 REQUIRED COMPONENTS Interpreter Development NumPy)
+ # We provide relevant variables by hand in debian/rules to avoid the
+ # multi-version hell when multiple version of Python3 are installed.
+ #FIND_PACKAGE(Python3 REQUIRED COMPONENTS Interpreter Development NumPy)
INCLUDE_DIRECTORIES(SYSTEM ${Python3_INCLUDE_DIRS})
MESSAGE(STATUS "Python: ${Python3_INCLUDE_DIRS}")
|