From 56713fbab90540a7db0ee08929be863da7c379df Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 29 Aug 2008 13:22:41 -0400 Subject: BUG: Link flags should still be chained The recent fix to avoid including flags in dependency inferral also dropped them from chaining of dependencies through targets. This fix restores chaining of flags through known dependency lists while still leaving them out of inferred dependency lists. --- Source/cmComputeLinkDepends.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx index e19935b..cc60e09 100644 --- a/Source/cmComputeLinkDepends.cxx +++ b/Source/cmComputeLinkDepends.cxx @@ -576,10 +576,7 @@ cmComputeLinkDepends::AddLinkEntries(int depender_index, // The dependee must come after the depender. if(depender_index >= 0) { - if(!this->EntryList[dependee_index].IsFlag) - { - this->EntryConstraintGraph[depender_index].push_back(dependee_index); - } + this->EntryConstraintGraph[depender_index].push_back(dependee_index); } else { -- cgit v0.12