summaryrefslogtreecommitdiffstats
path: root/Source/cmExecProgramCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmExecProgramCommand.h')
-rw-r--r--Source/cmExecProgramCommand.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmExecProgramCommand.h b/Source/cmExecProgramCommand.h
index 339bda8..4836337 100644
--- a/Source/cmExecProgramCommand.h
+++ b/Source/cmExecProgramCommand.h
@@ -88,6 +88,12 @@ public:
;
}
+ /** This command is kept for compatibility with older CMake versions. */
+ virtual bool IsDiscouraged()
+ {
+ return true;
+ }
+
cmTypeMacro(cmExecProgramCommand, cmCommand);
};