From 968d5a0ff17f13867472c857fcbda688d855857c Mon Sep 17 00:00:00 2001 From: Alex Neundorf Date: Thu, 10 Mar 2011 21:44:02 +0100 Subject: Make use_mangled_mesa() available in cmake script mode (#11926) There is nothing in it which speaks against this. Alex --- Source/cmUseMangledMesaCommand.h | 5 +++++ 1 file changed, 5 insertions(+) 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() { -- cgit v0.12