From 21f46ef36c044f884ec17a7e9b593252cf12c0e7 Mon Sep 17 00:00:00 2001 From: zhangxiaokun Date: Thu, 7 Jan 2021 15:15:45 +0800 Subject: [PATCH] Enable -Werror=unused-const-variable --- ge/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ge/CMakeLists.txt b/ge/CMakeLists.txt index e38fd3f7..32a64858 100755 --- a/ge/CMakeLists.txt +++ b/ge/CMakeLists.txt @@ -68,7 +68,7 @@ target_compile_options(ge_proto_client PRIVATE -fno-common ) -target_link_libraries(ge_proto_common PRIVATE +target_link_libraries(ge_proto_client PRIVATE $ ascend_protobuf )