Files
openvino/openvino-onnx-ml-defines.patch
Guillaume GARDET fbf5e530a9 - Add Leap15 build
- Remove comment lines in the spec file that cause the insertion
  of extra lines during a commit

OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/openvino?expand=0&rev=16
2024-10-03 06:36:01 +00:00

13 lines
489 B
Diff

Index: openvino-2024.0.0/thirdparty/dependencies.cmake
===================================================================
--- openvino-2024.0.0.orig/thirdparty/dependencies.cmake
+++ openvino-2024.0.0/thirdparty/dependencies.cmake
@@ -482,6 +482,7 @@ if(ENABLE_OV_ONNX_FRONTEND)
if(ONNX_FOUND)
# conan and vcpkg create imported targets 'onnx' and 'onnx_proto'
+ add_compile_definitions(ONNX_ML=1)
else()
add_subdirectory(thirdparty/onnx)
endif()