diff --git a/paddle/framework/CMakeLists.txt b/paddle/framework/CMakeLists.txt index 00a9802ef8d49e3af0c5fb9e00acfc199c413573..9d039a54d65e3b9fb49813f3ded699b3b5d6d7d5 100644 --- a/paddle/framework/CMakeLists.txt +++ b/paddle/framework/CMakeLists.txt @@ -51,7 +51,7 @@ else() cc_test(executor_test SRCS executor_test.cc DEPS executor ${EXECUTOR_TEST_OP}) endif() -cc_library(prune SRCS prune.cc) +cc_library(prune SRCS prune.cc DEPS framework_proto) cc_test(prune_test SRCS prune_test.cc DEPS op_info prune recurrent_op device_context) cc_library(tensor_array SRCS tensor_array.cc DEPS lod_tensor)