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:
parent
ba7fff0161
commit
56713fbab9
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue