Commit c88999d6 authored by Artur Wojcik's avatar Artur Wojcik Committed by Michał Karzyński

[ONNX] Fix missing dependency on protobuf::libprotobuf target (#2328)

parent 70172835
......@@ -160,7 +160,7 @@ add_library(onnx_import STATIC
set(ONNX_IMPORT_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "")
add_dependencies(onnx_import_interface onnx::libonnx onnx::libonnx_proto)
add_dependencies(onnx_import_interface protobuf::libprotobuf onnx::libonnx onnx::libonnx_proto)
add_dependencies(onnx_import onnx_import_interface)
set_property(TARGET onnx_import PROPERTY POSITION_INDEPENDENT_CODE ON)
......
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