summaryrefslogtreecommitdiffstats
path: root/Source/cmSubdirDependsCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSubdirDependsCommand.h')
-rw-r--r--Source/cmSubdirDependsCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmSubdirDependsCommand.h b/Source/cmSubdirDependsCommand.h
index 3e97602..f178443 100644
--- a/Source/cmSubdirDependsCommand.h
+++ b/Source/cmSubdirDependsCommand.h
@@ -67,6 +67,12 @@ public:
"parallel builds correctly. This functionality is now automatic.";
}
+ /** This command is only kept for compatibility with older CMake versions. */
+ virtual bool IsDiscouraged()
+ {
+ return true;
+ }
+
cmTypeMacro(cmSubdirDependsCommand, cmCommand);
};