summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-03-10 20:44:02 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-03-10 20:44:02 (GMT)
commit968d5a0ff17f13867472c857fcbda688d855857c (patch)
tree6de0a90e96bcb5cccd37c0fe935b29e831285e2b /Source
parent1a91ac4d0dd9bb7eac960a2058fd26f0646b4f50 (diff)
downloadCMake-968d5a0ff17f13867472c857fcbda688d855857c.zip
CMake-968d5a0ff17f13867472c857fcbda688d855857c.tar.gz
CMake-968d5a0ff17f13867472c857fcbda688d855857c.tar.bz2
Make use_mangled_mesa() available in cmake script mode (#11926)
There is nothing in it which speaks against this. Alex
Diffstat (limited to 'Source')
-rw-r--r--Source/cmUseMangledMesaCommand.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmUseMangledMesaCommand.h b/Source/cmUseMangledMesaCommand.h
index 887200f..fec2265 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()
{