From 30858d89745bd09052787bf57a2b1cd07772708f Mon Sep 17 00:00:00 2001 From: wuhuanzhou Date: Mon, 1 Mar 2021 18:57:55 +0800 Subject: [PATCH] fix compilation errors for missing brpc header files, test=develop (#31325) --- paddle/fluid/operators/pscore/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/pscore/CMakeLists.txt b/paddle/fluid/operators/pscore/CMakeLists.txt index 3e388b8d5ea..12168e61ba5 100644 --- a/paddle/fluid/operators/pscore/CMakeLists.txt +++ b/paddle/fluid/operators/pscore/CMakeLists.txt @@ -22,7 +22,7 @@ foreach (src ${OPS}) set_source_files_properties(${src} PROPERTIES COMPILE_FLAGS ${DISTRIBUTE_COMPILE_FLAGS}) endforeach () -register_operators() +register_operators(DEPS ${DISTRIBUTE_DEPS}) set(OPERATOR_DEPS ${OPERATOR_DEPS} ${DISTRIBUTE_DEPS} PARENT_SCOPE) -- GitLab