From 31c4aee75a18b11d86a364d01fdae3250200866d Mon Sep 17 00:00:00 2001
From: Stephen Kelly <steveire@gmail.com>
Date: Fri, 9 Oct 2015 22:29:17 +0200
Subject: [PATCH] cmLocalGenerator: Port policy handling to cmGeneratorTarget.

---
 Source/cmLocalGenerator.cxx | 2 +-
 Source/cmLocalGenerator.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index d830e26c76..60aff64c62 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/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 <<
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 749a93d883..5d2a34933b 100644
--- a/Source/cmLocalGenerator.h
+++ b/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;
-- 
GitLab