Merge topic 'MakeUseMangledMesaScriptable'

968d5a0 Make use_mangled_mesa() available in cmake script mode (#11926)
1a91ac4 Remove trailing whitespace
This commit is contained in:
Brad King 2011-03-15 14:47:22 -04:00 committed by CMake Topic Stage
commit d69220fb48
1 changed files with 9 additions and 5 deletions

View File

@ -68,6 +68,11 @@ public:
"being added to the include directory path earlier.";
}
/**
* This determines if the command is invoked when in script mode.
*/
virtual bool IsScriptable() { return true; }
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged()
{
@ -80,5 +85,4 @@ protected:
};
#endif