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
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue