diff options
author | Brad King <brad.king@kitware.com> | 2013-10-21 17:12:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-22 13:09:53 (GMT) |
commit | 6c9194488aa5d61774ffeb40f54149ce2255f00c (patch) | |
tree | fc1200e03d64e3a83893de34814d3c244cfb6d54 /Source/cmPolicies.cxx | |
parent | 3969bb23aafcdbd2174649e8eeb8f7b0e7ea6c4c (diff) | |
download | CMake-6c9194488aa5d61774ffeb40f54149ce2255f00c.zip CMake-6c9194488aa5d61774ffeb40f54149ce2255f00c.tar.gz CMake-6c9194488aa5d61774ffeb40f54149ce2255f00c.tar.bz2 |
Add policy CMP0036 to disallow build_name
Diffstat (limited to 'Source/cmPolicies.cxx')
-rw-r--r-- | Source/cmPolicies.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx index aad088b..c05de17 100644 --- a/Source/cmPolicies.cxx +++ b/Source/cmPolicies.cxx @@ -281,6 +281,11 @@ cmPolicies::cmPolicies() CMP0035, "CMP0035", "The variable_requires command should not be called.", 3,0,0,0, cmPolicies::WARN); + + this->DefinePolicy( + CMP0036, "CMP0036", + "The build_name command should not be called.", + 3,0,0,0, cmPolicies::WARN); } cmPolicies::~cmPolicies() |