summaryrefslogtreecommitdiffstats
path: root/Source/cmSubdirDependsCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-18 15:54:48 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-22 13:09:51 (GMT)
commit9f64fbf5b5f128580639f14e232430194c9326f1 (patch)
tree0f83aa908222265eb0bcd69c19ac2264bb8b19a1 /Source/cmSubdirDependsCommand.cxx
parent882c0f0b698e70be8b74aa498b62cb1fb22f3c24 (diff)
downloadCMake-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.cxx4
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;
}
-