diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-07 23:37:30 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-12 16:39:58 (GMT) |
commit | 763f7b19fcf8a287a0ce20a955ec9c2f7b1a051f (patch) | |
tree | 9f256845ce4eba82571a2d0398cc58ede6c64aaf /Source/cmCommonTargetGenerator.cxx | |
parent | ceb35b63a796235bb76284b3fb4046208365e23f (diff) | |
download | CMake-763f7b19fcf8a287a0ce20a955ec9c2f7b1a051f.zip CMake-763f7b19fcf8a287a0ce20a955ec9c2f7b1a051f.tar.gz CMake-763f7b19fcf8a287a0ce20a955ec9c2f7b1a051f.tar.bz2 |
cmCommonTargetGenerator: Port implementation detail to cmGeneratorTarget.
Diffstat (limited to 'Source/cmCommonTargetGenerator.cxx')
-rw-r--r-- | Source/cmCommonTargetGenerator.cxx | 4 |
1 files 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<std::string> cmCommonTargetGenerator::GetLinkedTargetDirectories() const { std::vector<std::string> dirs; - std::set<cmTarget const*> emitted; + std::set<cmGeneratorTarget const*> 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(); |