ENH: Patch from Alex to document this command as discouraged.
This commit is contained in:
parent
1d34e22c96
commit
03a46e0381
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue