diff --git a/paddle/fluid/distributed/fleet_executor/CMakeLists.txt b/paddle/fluid/distributed/fleet_executor/CMakeLists.txt index 8598657c047c93e267381157777d0b30f13a3d4f..0941b2075b8932de2602ff0969861d00f159d9ce 100644 --- a/paddle/fluid/distributed/fleet_executor/CMakeLists.txt +++ b/paddle/fluid/distributed/fleet_executor/CMakeLists.txt @@ -5,7 +5,7 @@ endif() proto_library(interceptor_message_proto SRCS interceptor_message.proto) if(WITH_DISTRIBUTE AND NOT (WITH_ASCEND OR WITH_ASCEND_CL)) - set(BRPC_DEPS brpc) + set(BRPC_DEPS brpc ssl crypto) else() set(BRPC_DEPS "") endif() diff --git a/paddle/fluid/framework/CMakeLists.txt b/paddle/fluid/framework/CMakeLists.txt index 19a7b4389b7d16f1ac7646c620ebb3741a888585..7a3a287af33c0bc8acd275973fa148ea677002c6 100644 --- a/paddle/fluid/framework/CMakeLists.txt +++ b/paddle/fluid/framework/CMakeLists.txt @@ -125,7 +125,7 @@ cc_test(var_type_traits_test SRCS var_type_traits_test.cc DEPS var_type_traits) set(BRPC_DEPS "") if(WITH_PSLIB OR WITH_PSCORE) - set(BRPC_DEPS brpc) + set(BRPC_DEPS brpc ssl crypto) if(WITH_PSLIB_BRPC) set(BRPC_DEPS pslib_brpc) endif()