13 lines
489 B
Diff
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()
|