summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-21 15:58:48 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-22 13:09:52 (GMT)
commit3969bb23aafcdbd2174649e8eeb8f7b0e7ea6c4c (patch)
tree2d0ca3ea70083bd9d7f19ffc4b2f246ad87ede17 /Source/cmPolicies.cxx
parent178b9af18674b23be97758236c676c9bd9398c40 (diff)
downloadCMake-3969bb23aafcdbd2174649e8eeb8f7b0e7ea6c4c.zip
CMake-3969bb23aafcdbd2174649e8eeb8f7b0e7ea6c4c.tar.gz
CMake-3969bb23aafcdbd2174649e8eeb8f7b0e7ea6c4c.tar.bz2
Add policy CMP0035 to disallow variable_requires
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 f830806..aad088b 100644
--- a/Source/cmPolicies.cxx
+++ b/Source/cmPolicies.cxx
@@ -276,6 +276,11 @@ cmPolicies::cmPolicies()
CMP0034, "CMP0034",
"The utility_source command should not be called.",
3,0,0,0, cmPolicies::WARN);
+
+ this->DefinePolicy(
+ CMP0035, "CMP0035",
+ "The variable_requires command should not be called.",
+ 3,0,0,0, cmPolicies::WARN);
}
cmPolicies::~cmPolicies()