summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-18 17:00:17 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-22 13:09:52 (GMT)
commit6865c8fe05d407077a598fcc0921ef62dfeaf021 (patch)
tree7295bc74f2589671684e77c44a7a37ccdbbfac21 /Source/cmPolicies.cxx
parentaa76518f8bfd821f000d1779066eb7614cdd079b (diff)
downloadCMake-6865c8fe05d407077a598fcc0921ef62dfeaf021.zip
CMake-6865c8fe05d407077a598fcc0921ef62dfeaf021.tar.gz
CMake-6865c8fe05d407077a598fcc0921ef62dfeaf021.tar.bz2
Add policy CMP0032 to disallow output_required_files
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 03e898e..bf4d2c1 100644
--- a/Source/cmPolicies.cxx
+++ b/Source/cmPolicies.cxx
@@ -261,6 +261,11 @@ cmPolicies::cmPolicies()
CMP0031, "CMP0031",
"The load_command command should not be called.",
3,0,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0032, "CMP0032",
+ "The output_required_files command should not be called.",
+ 3,0,0,0, cmPolicies::WARN);
}
cmPolicies::~cmPolicies()