Browse Source

Add dependence PROTO_HEADER_HDRS

tags/v1.2.0
zhangxiaokun 4 years ago
parent
commit
9b93ff3cd5
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ge/CMakeLists.txt

+ 2
- 0
ge/CMakeLists.txt View File

@@ -35,6 +35,7 @@ protobuf_generate(ge PROTO_HEADER_SRCS PROTO_HEADER_HDRS ${PROTO_HEADER_LIST})
if (NOT ENABLE_D AND NOT ENABLE_ACL AND NOT ENABLE_MS_TESTCASES)
############ libge_proto_common.a ############
add_library(ge_proto_common STATIC
${PROTO_HEADER_HDRS}
${PROTO_SRCS}
)

@@ -55,6 +56,7 @@ target_link_libraries(ge_proto_common PRIVATE

############ libge_proto_client.a ############
add_library(ge_proto_client STATIC
${PROTO_HEADER_HDRS}
${PROTO_CLIENT_SRCS}
)



Loading…
Cancel
Save