summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-18 16:41:54 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-22 13:09:52 (GMT)
commitaa76518f8bfd821f000d1779066eb7614cdd079b (patch)
tree4005fa79df546cbf0de9bfb2f0610b27a9b65c3d /Source/cmPolicies.cxx
parent97268cf5b7626febb06d04c2201ace397a4863fd (diff)
downloadCMake-aa76518f8bfd821f000d1779066eb7614cdd079b.zip
CMake-aa76518f8bfd821f000d1779066eb7614cdd079b.tar.gz
CMake-aa76518f8bfd821f000d1779066eb7614cdd079b.tar.bz2
Add policy CMP0031 to disallow load_command
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 fdd3bd0..03e898e 100644
--- a/Source/cmPolicies.cxx
+++ b/Source/cmPolicies.cxx
@@ -256,6 +256,11 @@ cmPolicies::cmPolicies()
CMP0030, "CMP0030",
"The use_mangled_mesa command should not be called.",
3,0,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0031, "CMP0031",
+ "The load_command command should not be called.",
+ 3,0,0,0, cmPolicies::WARN);
}
cmPolicies::~cmPolicies()