cmGeneratorTarget: Port processILibs to cmGeneratorTarget.

This commit is contained in:
Stephen Kelly 2015-10-08 01:47:37 +02:00
parent 43ade99577
commit 993aace78a
1 changed files with 3 additions and 3 deletions

View File

@ -2068,9 +2068,9 @@ void processILibs(const std::string& config,
cmLinkItem const& item, cmLinkItem const& item,
cmGlobalGenerator* gg, cmGlobalGenerator* gg,
std::vector<cmGeneratorTarget const*>& tgts, std::vector<cmGeneratorTarget const*>& tgts,
std::set<cmTarget const*>& emitted) std::set<cmGeneratorTarget const*>& emitted)
{ {
if (item.Target && emitted.insert(item.Target->Target).second) if (item.Target && emitted.insert(item.Target).second)
{ {
tgts.push_back(item.Target); tgts.push_back(item.Target);
if(cmLinkInterfaceLibraries const* iface = if(cmLinkInterfaceLibraries const* iface =
@ -2096,7 +2096,7 @@ cmGeneratorTarget::GetLinkImplementationClosure(
if(!tgts.Done) if(!tgts.Done)
{ {
tgts.Done = true; tgts.Done = true;
std::set<cmTarget const*> emitted; std::set<cmGeneratorTarget const*> emitted;
cmLinkImplementationLibraries const* impl cmLinkImplementationLibraries const* impl
= this->GetLinkImplementationLibraries(config); = this->GetLinkImplementationLibraries(config);