cmGeneratorTarget: Port Utility items to cmGeneratorTarget.
This commit is contained in:
parent
d233030f5b
commit
50fb2ad646
@ -774,9 +774,8 @@ std::set<cmLinkItem> const& cmGeneratorTarget::GetUtilityItems() const
|
|||||||
for(std::set<std::string>::const_iterator i = utilities.begin();
|
for(std::set<std::string>::const_iterator i = utilities.begin();
|
||||||
i != utilities.end(); ++i)
|
i != utilities.end(); ++i)
|
||||||
{
|
{
|
||||||
cmTarget* tgt = this->Makefile->FindTargetToUse(*i);
|
cmGeneratorTarget* gt =
|
||||||
cmGeneratorTarget* gt = tgt ? this->GlobalGenerator
|
this->LocalGenerator->FindGeneratorTargetToUse(*i);
|
||||||
->GetGeneratorTarget(tgt) : 0;
|
|
||||||
this->UtilityItems.insert(cmLinkItem(*i, gt));
|
this->UtilityItems.insert(cmLinkItem(*i, gt));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user