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/cmSubdirDependsCommand.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/cmSubdirDependsCommand.cxx')
-rw-r--r-- | Source/cmSubdirDependsCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSubdirDependsCommand.cxx b/Source/cmSubdirDependsCommand.cxx index 2af7bf1..9381983 100644 --- a/Source/cmSubdirDependsCommand.cxx +++ b/Source/cmSubdirDependsCommand.cxx @@ -11,10 +11,10 @@ ============================================================================*/ #include "cmSubdirDependsCommand.h" -// cmSubdirDependsCommand bool cmSubdirDependsCommand::InitialPass(std::vector<std::string> const& , cmExecutionStatus &) { + this->Disallowed(cmPolicies::CMP0029, + "The subdir_depends command should not be called; see CMP0029."); return true; } - |