diff --git a/paddle/framework/CMakeLists.txt b/paddle/framework/CMakeLists.txt index 454e8d54d4cb7e0195addb6e7ffbc132b8e29c50..1db042c6fc8b6c4ea7c3854ea4b1cd016deeb0b6 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)