File system-python.patch of Package python-onnxruntime
--- a/cmake/CMakeLists.txt 2024-01-24 10:56:03.401134682 +0100
+++ b/cmake/CMakeLists.txt 2024-01-24 10:52:40.714354231 +0100
@@ -493,12 +493,12 @@
if (onnxruntime_BUILD_SHARED_LIB OR onnxruntime_ENABLE_PYTHON)
if (onnxruntime_ENABLE_PYTHON)
if (onnxruntime_ENABLE_LANGUAGE_INTEROP_OPS OR onnxruntime_REQUIRE_PYTHON_EMBED_LIB)
- find_package(Python 3.8 COMPONENTS Interpreter Development NumPy)
+ find_package(Python ${PYTHON_VERSION} COMPONENTS Interpreter Development NumPy)
else()
- find_package(Python 3.8 COMPONENTS Interpreter Development.Module NumPy)
+ find_package(Python ${PYTHON_VERSION} COMPONENTS Interpreter Development.Module NumPy)
endif()
else()
- find_package(Python 3.8 COMPONENTS Interpreter)
+ find_package(Python ${PYTHON_VERSION} COMPONENTS Interpreter)
endif()
endif()