From abff52abcbb6f2f3d015b1955228089007bfeb30 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Tue, 11 Jul 2017 01:10:48 -0500 Subject: [PATCH] Simplelize framework/CMakeLists.txt (#2803) * generic.cmake can propogate dependencies through libraries. It is no need to specific all dependencies. --- paddle/framework/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/framework/CMakeLists.txt b/paddle/framework/CMakeLists.txt index e6e3b79d7b..aecc97d4a8 100644 --- a/paddle/framework/CMakeLists.txt +++ b/paddle/framework/CMakeLists.txt @@ -18,4 +18,4 @@ add_custom_target(framework_py_proto_init ALL COMMAND ${CMAKE_COMMAND} -E touch add_dependencies(framework_py_proto framework_py_proto_init) proto_library(net_proto SRCS net_proto.proto DEPS op_proto) -cc_library(net SRCS net.cc DEPS net_proto attr_type op_proto) +cc_library(net SRCS net.cc DEPS net_proto) -- GitLab