summaryrefslogtreecommitdiffstats
path: root/Source/cmSubdirDependsCommand.cxx
diff options
context:
space:
mode:
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;
}
-