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

View File

@ -72,6 +72,12 @@ public:
"being added to the include directory path earlier."; "being added to the include directory path earlier.";
} }
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged()
{
return true;
}
protected: protected:
void CopyAndFullPathMesaHeader(const char* source, void CopyAndFullPathMesaHeader(const char* source,
const char* outdir); const char* outdir);

View File

@ -72,6 +72,12 @@ public:
"is reported."; "is reported.";
} }
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged()
{
return true;
}
cmTypeMacro(cmVariableRequiresCommand, cmCommand); cmTypeMacro(cmVariableRequiresCommand, cmCommand);
}; };