diff --git a/src/common/graph/CMakeLists.txt b/src/common/graph/CMakeLists.txt index bb63eb81..ef56b130 100755 --- a/src/common/graph/CMakeLists.txt +++ b/src/common/graph/CMakeLists.txt @@ -31,8 +31,8 @@ file(GLOB_RECURSE ONNX_PROTO_LIST RELATIVE ${CMAKE_CURRENT_LIST_DIR} "${onnx_INC}/onnx/onnx.proto" ) -ge_protobuf_generate(ge PROTO_SRCS PROTO_HDRS ${PROTO_LIST}) -ge_protobuf_generate(ge PROTO_ONNX_SRCS PROTO_ONNX_HDRS ${ONNX_PROTO_LIST}) +protobuf_generate(ge PROTO_SRCS PROTO_HDRS ${PROTO_LIST}) +protobuf_generate(ge PROTO_ONNX_SRCS PROTO_ONNX_HDRS ${ONNX_PROTO_LIST}) # need to remove dependencies on pb files later file(GLOB SRC_LIST RELATIVE ${CMAKE_CURRENT_LIST_DIR}