diff options
author | Brad King <brad.king@kitware.com> | 2013-10-18 15:54:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-22 13:09:51 (GMT) |
commit | 9f64fbf5b5f128580639f14e232430194c9326f1 (patch) | |
tree | 0f83aa908222265eb0bcd69c19ac2264bb8b19a1 /Source/cmPolicies.cxx | |
parent | 882c0f0b698e70be8b74aa498b62cb1fb22f3c24 (diff) | |
download | CMake-9f64fbf5b5f128580639f14e232430194c9326f1.zip CMake-9f64fbf5b5f128580639f14e232430194c9326f1.tar.gz CMake-9f64fbf5b5f128580639f14e232430194c9326f1.tar.bz2 |
Add policy CMP0029 to disallow subdir_depends
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 f7efc1e..fcc5bfc 100644 --- a/Source/cmPolicies.cxx +++ b/Source/cmPolicies.cxx @@ -246,6 +246,11 @@ cmPolicies::cmPolicies() CMP0028, "CMP0028", "Double colon in target name means ALIAS or IMPORTED target.", 3,0,0,0, cmPolicies::WARN); + + this->DefinePolicy( + CMP0029, "CMP0029", + "The subdir_depends command should not be called.", + 3,0,0,0, cmPolicies::WARN); } cmPolicies::~cmPolicies() |