ソースを参照

cmLocalGenerator: Port policy handling to cmGeneratorTarget.

Stephen Kelly 10 年 前
コミット
31c4aee75a
2 ファイル変更2 行追加2 行削除
  1. 1 1
      Source/cmLocalGenerator.cxx
  2. 1 1
      Source/cmLocalGenerator.h

+ 1 - 1
Source/cmLocalGenerator.cxx

@@ -2129,7 +2129,7 @@ void cmLocalGenerator
     }
 
   if (!warnCMP0063.empty() &&
-      this->WarnCMP0063.insert(target->Target).second)
+      this->WarnCMP0063.insert(target).second)
     {
     std::ostringstream w;
     w <<

+ 1 - 1
Source/cmLocalGenerator.h

@@ -369,7 +369,7 @@ protected:
   std::string::size_type ObjectPathMax;
   std::set<std::string> ObjectMaxPathViolations;
 
-  std::set<cmTarget const*> WarnCMP0063;
+  std::set<cmGeneratorTarget const*> WarnCMP0063;
   cmGeneratorTargetsType GeneratorTargets;
 
   bool EmitUniversalBinaryFlags;