Unverified Commit 33f4f394 authored by Michał Karzyński's avatar Michał Karzyński Committed by GitHub

[ONNX] Change compiler options (#1466)

parent 4e2b2977
......@@ -52,7 +52,7 @@ add_library(onnx_import STATIC
add_dependencies(onnx_import onnx_import_interface)
if (NOT NGRAPH_USE_SYSTEM_PROTOBUF)
add_dependencies(onnx_import_interface protobuf::libprotobuf)
add_dependencies(onnx_import_interface protobuf::libprotobuf)
add_dependencies(onnx_import protobuf::libprotobuf)
endif()
......@@ -66,9 +66,9 @@ target_include_directories(onnx_import_interface PRIVATE ${CMAKE_CURRENT_BINARY_
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "^(Apple)?Clang$")
target_compile_options(onnx_import PRIVATE -Wno-undef -Wno-reserved-id-macro -Wno-switch-enum
-Wno-extended-offsetof -Wno-zero-as-null-pointer-constant -Wno-shorten-64-to-32 -Wno-unused-macros
-Wno-missing-variable-declarations -Wno-unused-private-field)
-Wno-extended-offsetof -Wno-shorten-64-to-32 -Wno-unused-macros -Wno-missing-variable-declarations
-Wno-unused-private-field -Wno-shadow -Wno-deprecated)
target_compile_options(onnx_import_interface PRIVATE -Wno-undef -Wno-reserved-id-macro -Wno-switch-enum
-Wno-extended-offsetof -Wno-zero-as-null-pointer-constant -Wno-shorten-64-to-32 -Wno-unused-macros
-Wno-missing-variable-declarations -Wno-unused-private-field)
-Wno-extended-offsetof -Wno-shorten-64-to-32 -Wno-unused-macros -Wno-missing-variable-declarations
-Wno-unused-private-field -Wno-shadow -Wno-deprecated)
endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment