Skip to content

Commit

Permalink
Only find protobuf when using system protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
daquexian committed May 22, 2019
1 parent c5b0595 commit 0bc5e7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/onnx2daq/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
find_package(Protobuf)
if (${DNN_SYSTEM_PROTOBUF})
find_package(Protobuf)
endif()

# dnn_protobuf_generate_cpp(ONNX_PROTO_SRCS ONNX_PROTO_HDRS onnx.proto3)
# message(${ONNX_PROTO_SRCS})
Expand Down

0 comments on commit 0bc5e7f

Please sign in to comment.