ENH: Patch from Alex to document this command as discouraged.

This commit is contained in:
Brad King
2007-01-24 13:40:31 -05:00
parent 1d34e22c96
commit 03a46e0381
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -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);
};