From 7cd5f906b73eb0fe2e776835dbadefc94434fad5 Mon Sep 17 00:00:00 2001 From: yuyang18 Date: Thu, 19 Jul 2018 13:50:30 +0800 Subject: [PATCH] Correct IR dependencies --- paddle/fluid/framework/ir/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/fluid/framework/ir/CMakeLists.txt b/paddle/fluid/framework/ir/CMakeLists.txt index e8ed06aa69c..d5ca74cb679 100644 --- a/paddle/fluid/framework/ir/CMakeLists.txt +++ b/paddle/fluid/framework/ir/CMakeLists.txt @@ -1,5 +1,5 @@ -cc_library(graph SRCS graph.cc node) -cc_library(node SRCS node.cc) -cc_library(pass SRCS pass.cc graph node) +cc_library(graph SRCS graph.cc DEPS node) +cc_library(node SRCS node.cc DEPS proto_desc) +cc_library(pass SRCS pass.cc DEPS graph node) cc_test(graph_test SRCS graph_test.cc DEPS graph proto_desc op_registry) -- GitLab