summaryrefslogtreecommitdiffstats
path: root/Source/cmUtilitySourceCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmUtilitySourceCommand.h')
-rw-r--r--Source/cmUtilitySourceCommand.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/cmUtilitySourceCommand.h b/Source/cmUtilitySourceCommand.h
index 3dd58c8..e1866ef 100644
--- a/Source/cmUtilitySourceCommand.h
+++ b/Source/cmUtilitySourceCommand.h
@@ -72,7 +72,14 @@ public:
"is assumed that the source tree of the utility will have been built "
"before it is needed.";
}
-
+
+ /** This command is kept for compatibility with older CMake versions. */
+ virtual bool IsDiscouraged()
+ {
+ return true;
+ }
+
+
cmTypeMacro(cmUtilitySourceCommand, cmCommand);
};