From f85ccdd3518c6d2d296c390e159ac302b837cc09 Mon Sep 17 00:00:00 2001 From: fengjiayi Date: Mon, 24 Jul 2017 16:48:32 +0800 Subject: [PATCH] Renew CMakeList dependence --- paddle/framework/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/paddle/framework/CMakeLists.txt b/paddle/framework/CMakeLists.txt index 36da6f649..31b5ccdea 100644 --- a/paddle/framework/CMakeLists.txt +++ b/paddle/framework/CMakeLists.txt @@ -19,10 +19,10 @@ cc_test(op_desc_test SRCS op_desc_test.cc DEPS op_desc protobuf) cc_library(operator SRCS operator.cc DEPS op_desc device_context tensor) cc_test(operator_test SRCS operator_test.cc DEPS operator op_registry) -cc_library(grad_op_creator SRCS grad_op_creator.cc) -cc_library(op_registry SRCS op_registry.cc DEPS op_proto op_desc grad_op_creator) -cc_test(op_registry_test SRCS op_registry_test.cc DEPS op_registry operator) -cc_test(grad_op_creator_test SRCS grad_op_creator_test.cc DEPS grad_op_creator op_registry operator add_op) +cc_library(grad_op_creator SRCS grad_op_creator.cc DEPS op_proto operator op_registry) +cc_library(op_registry SRCS op_registry.cc DEPS op_desc grad_op_creator) +cc_test(op_registry_test SRCS op_registry_test.cc DEPS op_registry) +cc_test(grad_op_creator_test SRCS grad_op_creator_test.cc DEPS grad_op_creator add_op) py_proto_compile(framework_py_proto SRCS attr_type.proto op_proto.proto op_desc.proto) # Generate an empty __init__.py to make framework_py_proto as a valid python module. -- GitLab