summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-09 20:29:17 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-17 15:30:39 (GMT)
commit31c4aee75a18b11d86a364d01fdae3250200866d (patch)
tree726d3f39160635bfa2807b9bf420dd663c620932
parent3e8ef6427393546c77da1b74234311d3b60edd98 (diff)
downloadCMake-31c4aee75a18b11d86a364d01fdae3250200866d.zip
CMake-31c4aee75a18b11d86a364d01fdae3250200866d.tar.gz
CMake-31c4aee75a18b11d86a364d01fdae3250200866d.tar.bz2
cmLocalGenerator: Port policy handling to cmGeneratorTarget.
-rw-r--r--Source/cmLocalGenerator.cxx2
-rw-r--r--Source/cmLocalGenerator.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index d830e26..60aff64 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 749a93d..5d2a349 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;