From 8faf905e0074a92329ef6a67e0b7550e211fe4a1 Mon Sep 17 00:00:00 2001 From: Yi Wang Date: Fri, 4 Aug 2017 15:49:15 -0700 Subject: [PATCH] Correct dependencies --- paddle/framework/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/framework/CMakeLists.txt b/paddle/framework/CMakeLists.txt index 454e8d54d4c..1db042c6fc8 100644 --- a/paddle/framework/CMakeLists.txt +++ b/paddle/framework/CMakeLists.txt @@ -12,14 +12,14 @@ cc_test(variable_test SRCS variable_test.cc) cc_library(scope SRCS scope.cc) cc_test(scope_test SRCS scope_test.cc DEPS scope) -cc_library(attribute SRCS attribute.cc) - proto_library(attribute_proto SRCS attribute.proto) proto_library(op_proto SRCS op_proto.proto DEPS attribute_proto) proto_library(op_desc SRCS op_desc.proto DEPS attribute_proto) cc_test(op_proto_test SRCS op_proto_test.cc DEPS op_proto protobuf) cc_test(op_desc_test SRCS op_desc_test.cc DEPS op_desc protobuf) +cc_library(attribute SRCS attribute.cc DEPS op_desc op_proto) + cc_library(operator SRCS operator.cc DEPS op_desc device_context tensor scope attribute) cc_test(operator_test SRCS operator_test.cc DEPS operator op_registry) -- GitLab