diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-03-10 21:44:02 +0100 |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-03-10 21:44:02 +0100 |
commit | 968d5a0ff17f13867472c857fcbda688d855857c (patch) | |
tree | 6de0a90e96bcb5cccd37c0fe935b29e831285e2b /Source/cmUseMangledMesaCommand.h | |
parent | 1a91ac4d0dd9bb7eac960a2058fd26f0646b4f50 (diff) | |
download | cmake-968d5a0ff17f13867472c857fcbda688d855857c.tar.gz |
Make use_mangled_mesa() available in cmake script mode (#11926)
There is nothing in it which speaks against this.
Alex
Diffstat (limited to 'Source/cmUseMangledMesaCommand.h')
-rw-r--r-- | Source/cmUseMangledMesaCommand.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmUseMangledMesaCommand.h b/Source/cmUseMangledMesaCommand.h index 887200fe8e..fec2265ed0 100644 --- a/Source/cmUseMangledMesaCommand.h +++ b/Source/cmUseMangledMesaCommand.h @@ -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() { |