From 763f7b19fcf8a287a0ce20a955ec9c2f7b1a051f Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Thu, 8 Oct 2015 01:37:30 +0200 Subject: cmCommonTargetGenerator: Port implementation detail to cmGeneratorTarget. --- Source/cmCommonTargetGenerator.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmCommonTargetGenerator.cxx b/Source/cmCommonTargetGenerator.cxx index b9ed345..f901414 100644 --- a/Source/cmCommonTargetGenerator.cxx +++ b/Source/cmCommonTargetGenerator.cxx @@ -383,7 +383,7 @@ std::vector cmCommonTargetGenerator::GetLinkedTargetDirectories() const { std::vector dirs; - std::set emitted; + std::set emitted; if (cmComputeLinkInformation* cli = this->GeneratorTarget->GetLinkInformation(this->ConfigName)) { @@ -397,7 +397,7 @@ cmCommonTargetGenerator::GetLinkedTargetDirectories() const // Target->GetLinkInformation already processed their // link interface and they don't have any output themselves. && linkee->GetType() != cmTarget::INTERFACE_LIBRARY - && emitted.insert(linkee->Target).second) + && emitted.insert(linkee).second) { cmLocalGenerator* lg = linkee->GetLocalGenerator(); cmMakefile* mf = linkee->Target->GetMakefile(); -- cgit v0.12