-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[onnx] Update to 1.17.0 and fix openvino dependency error (#42942)
Co-authored-by: Jon <[email protected]>
- Loading branch information
1 parent
953d212
commit 7894bc9
Showing
5 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 55869f4..e8b20cb 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -524,6 +524,7 @@ else() | ||
set_target_properties(onnx_proto PROPERTIES VISIBILITY_INLINES_HIDDEN 1) | ||
endif() | ||
target_compile_definitions(onnx_proto PRIVATE ${ONNX_API_DEFINE}) | ||
+target_compile_features(onnx_proto PUBLIC cxx_std_${CMAKE_CXX_STANDARD}) | ||
|
||
if(ONNX_USE_LITE_PROTO) | ||
if(TARGET protobuf::libprotobuf-lite) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters