mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 01:49:23 -05:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user