mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
add missing build dependency for onnxruntime_providers_webgpu (#23324)
### Description Fixes build when specify with flag `--target onnxruntime_providers_webgpu` Otherwise the following error will occur: ``` range.cc D:\code\onnxruntime\build\Windows\Debug\_deps\onnx-src\onnx\onnx_pb.h(65,10): error C1083: Cannot open include file: 'o nnx/onnx-ml.pb.h': No such file or directory [D:\code\onnxruntime\build\Windows\Debug\onnxruntime_providers_webgpu.vcxp roj] (compiling source file '../../../onnxruntime/core/providers/webgpu/math/binary_elementwise_ops.cc') ```
This commit is contained in:
parent
b461f06a15
commit
a74817ab10
1 changed files with 1 additions and 0 deletions
|
|
@ -61,4 +61,5 @@
|
|||
VERBATIM )
|
||||
endif()
|
||||
|
||||
add_dependencies(onnxruntime_providers_webgpu ${onnxruntime_EXTERNAL_DEPENDENCIES})
|
||||
set_target_properties(onnxruntime_providers_webgpu PROPERTIES FOLDER "ONNXRuntime")
|
||||
|
|
|
|||
Loading…
Reference in a new issue