From 761055f0eca9f3f0958b0a933c101bfb29c481de Mon Sep 17 00:00:00 2001 From: zmxdream Date: Fri, 31 Dec 2021 16:03:28 +0800 Subject: [PATCH] fix compile error for fleetwrapper with -DWITH_TESTING=ON (#38603) --- paddle/fluid/framework/fleet/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/framework/fleet/CMakeLists.txt b/paddle/fluid/framework/fleet/CMakeLists.txt index 36c5b13701..19d7107654 100644 --- a/paddle/fluid/framework/fleet/CMakeLists.txt +++ b/paddle/fluid/framework/fleet/CMakeLists.txt @@ -4,7 +4,7 @@ if(WITH_PSLIB) else() set(BRPC_DEPS brpc) endif(WITH_PSLIB_BRPC) - cc_library(fleet_wrapper SRCS fleet_wrapper.cc DEPS framework_proto variable_helper scope ${BRPC_DEPS} pslib) + cc_library(fleet_wrapper SRCS fleet_wrapper.cc DEPS framework_proto proto_desc op_registry variable_helper scope ${BRPC_DEPS} pslib) else() cc_library(fleet_wrapper SRCS fleet_wrapper.cc DEPS framework_proto variable_helper scope) endif(WITH_PSLIB) -- GitLab