Use original onnx (#6673)

* Merged ONNX editor and ONNX importer to the one folder

* Try to migrate to original ONNX

* Remove ONNX_BUILD_SHARED_LIBS

* Update ONNX
This commit is contained in:
Ilya Churaev
2021-08-04 07:43:13 +03:00
committed by GitHub
parent c963136453
commit 40a5ce21aa
3 changed files with 2 additions and 3 deletions

2
.gitmodules vendored
View File

@@ -40,7 +40,7 @@
ignore = dirty
[submodule "thirdparty/onnx"]
path = thirdparty/onnx/onnx
url = https://github.com/openvinotoolkit/onnx.git
url = https://github.com/onnx/onnx.git
[submodule "thirdparty/protobuf"]
path = thirdparty/protobuf/protobuf
url = https://github.com/protocolbuffers/protobuf.git

View File

@@ -19,7 +19,6 @@ macro(onnx_set_target_properties)
target_include_directories(onnx_proto SYSTEM PRIVATE "${Protobuf_INCLUDE_DIRS}")
ov_disable_all_warnings(onnx onnx_proto)
target_compile_definitions(onnx PUBLIC ONNX_BUILD_SHARED_LIBS)
endmacro()
set(ONNX_USE_PROTOBUF_SHARED_LIBS ${BUILD_SHARED_LIBS} CACHE BOOL "Use dynamic protobuf by ONNX library" FORCE)