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.
This commit is contained in:
Brad King 2008-08-29 13:22:41 -04:00
parent ba7fff0161
commit 56713fbab9
1 changed files with 1 additions and 4 deletions

View File

@ -575,12 +575,9 @@ 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);
}
}
else
{
// This is a direct dependency of the target being linked.