diff options
Diffstat (limited to 'Source/cmVariableRequiresCommand.h')
-rw-r--r-- | Source/cmVariableRequiresCommand.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmVariableRequiresCommand.h b/Source/cmVariableRequiresCommand.h index becd108..28ef7bd 100644 --- a/Source/cmVariableRequiresCommand.h +++ b/Source/cmVariableRequiresCommand.h @@ -72,6 +72,12 @@ public: "is reported."; } + /** This command is kept for compatibility with older CMake versions. */ + virtual bool IsDiscouraged() + { + return true; + } + cmTypeMacro(cmVariableRequiresCommand, cmCommand); }; |