summaryrefslogtreecommitdiffstats
path: root/Source/cmSubdirCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSubdirCommand.h')
-rw-r--r--Source/cmSubdirCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmSubdirCommand.h b/Source/cmSubdirCommand.h
index 71cc31e..4ec3da9 100644
--- a/Source/cmSubdirCommand.h
+++ b/Source/cmSubdirCommand.h
@@ -80,6 +80,12 @@ public:
"top level project or be built each time make is run from the top.";
}
+ /** This command is only kept for compatibility with older CMake versions. */
+ virtual bool IsDiscouraged()
+ {
+ return true;
+ }
+
cmTypeMacro(cmSubdirCommand, cmCommand);
};