From 9b93ff3cd5b3bcf1476f202fe879fec9df699280 Mon Sep 17 00:00:00 2001 From: zhangxiaokun Date: Mon, 11 Jan 2021 22:07:49 +0800 Subject: [PATCH] Add dependence PROTO_HEADER_HDRS --- ge/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ge/CMakeLists.txt b/ge/CMakeLists.txt index 58b6a999..117f8cf2 100755 --- a/ge/CMakeLists.txt +++ b/ge/CMakeLists.txt @@ -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} )