diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 7c700a061..c24126fc2 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -2068,9 +2068,9 @@ void processILibs(const std::string& config, cmLinkItem const& item, cmGlobalGenerator* gg, std::vector& tgts, - std::set& emitted) + std::set& emitted) { - if (item.Target && emitted.insert(item.Target->Target).second) + if (item.Target && emitted.insert(item.Target).second) { tgts.push_back(item.Target); if(cmLinkInterfaceLibraries const* iface = @@ -2096,7 +2096,7 @@ cmGeneratorTarget::GetLinkImplementationClosure( if(!tgts.Done) { tgts.Done = true; - std::set emitted; + std::set emitted; cmLinkImplementationLibraries const* impl = this->GetLinkImplementationLibraries(config);