瀏覽代碼

cmCommonTargetGenerator: Port implementation detail to cmGeneratorTarget.

Stephen Kelly 10 年之前
父節點
當前提交
763f7b19fc
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Source/cmCommonTargetGenerator.cxx

+ 2 - 2
Source/cmCommonTargetGenerator.cxx

@@ -383,7 +383,7 @@ std::vector<std::string>
 cmCommonTargetGenerator::GetLinkedTargetDirectories() const
 cmCommonTargetGenerator::GetLinkedTargetDirectories() const
 {
 {
   std::vector<std::string> dirs;
   std::vector<std::string> dirs;
-  std::set<cmTarget const*> emitted;
+  std::set<cmGeneratorTarget const*> emitted;
   if (cmComputeLinkInformation* cli =
   if (cmComputeLinkInformation* cli =
       this->GeneratorTarget->GetLinkInformation(this->ConfigName))
       this->GeneratorTarget->GetLinkInformation(this->ConfigName))
     {
     {
@@ -397,7 +397,7 @@ cmCommonTargetGenerator::GetLinkedTargetDirectories() const
                 // Target->GetLinkInformation already processed their
                 // Target->GetLinkInformation already processed their
                 // link interface and they don't have any output themselves.
                 // link interface and they don't have any output themselves.
                 && linkee->GetType() != cmTarget::INTERFACE_LIBRARY
                 && linkee->GetType() != cmTarget::INTERFACE_LIBRARY
-                && emitted.insert(linkee->Target).second)
+                && emitted.insert(linkee).second)
         {
         {
         cmLocalGenerator* lg = linkee->GetLocalGenerator();
         cmLocalGenerator* lg = linkee->GetLocalGenerator();
         cmMakefile* mf = linkee->Target->GetMakefile();
         cmMakefile* mf = linkee->Target->GetMakefile();