summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-18 15:55:42 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-22 13:09:51 (GMT)
commit97268cf5b7626febb06d04c2201ace397a4863fd (patch)
tree959cacfbee953a25a5cb3aad0cd53b5052a4aa40 /Source/cmPolicies.cxx
parent9f64fbf5b5f128580639f14e232430194c9326f1 (diff)
downloadCMake-97268cf5b7626febb06d04c2201ace397a4863fd.zip
CMake-97268cf5b7626febb06d04c2201ace397a4863fd.tar.gz
CMake-97268cf5b7626febb06d04c2201ace397a4863fd.tar.bz2
Add policy CMP0030 to disallow use_mangled_mesa
Diffstat (limited to 'Source/cmPolicies.cxx')
-rw-r--r--Source/cmPolicies.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx
index fcc5bfc..fdd3bd0 100644
--- a/Source/cmPolicies.cxx
+++ b/Source/cmPolicies.cxx
@@ -251,6 +251,11 @@ cmPolicies::cmPolicies()
CMP0029, "CMP0029",
"The subdir_depends command should not be called.",
3,0,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0030, "CMP0030",
+ "The use_mangled_mesa command should not be called.",
+ 3,0,0,0, cmPolicies::WARN);
}
cmPolicies::~cmPolicies()