diff --git a/paddle/fluid/framework/CMakeLists.txt b/paddle/fluid/framework/CMakeLists.txt index 0a2b3cf2b80fbfe7c346e5a6bbe9353f7c8a3887..65367a21209a9e2a131e92ef1416bcb351470e75 100644 --- a/paddle/fluid/framework/CMakeLists.txt +++ b/paddle/fluid/framework/CMakeLists.txt @@ -29,7 +29,8 @@ add_subdirectory(io) proto_library(framework_proto SRCS framework.proto) proto_library(data_feed_proto SRCS data_feed.proto) proto_library(async_executor_proto SRCS data_feed.proto) -proto_library(trainer_desc_proto SRCS trainer_desc.proto data_feed.proto) +proto_library(trainer_desc_proto SRCS trainer_desc.proto DEPS framework_proto + data_feed_proto) cc_library(ddim SRCS ddim.cc DEPS eigen3 boost enforce) cc_test(ddim_test SRCS ddim_test.cc DEPS ddim)