diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h index d9aaa4a42..05faac5be 100644 --- a/Source/cmIfCommand.h +++ b/Source/cmIfCommand.h @@ -87,6 +87,11 @@ public: */ virtual bool IsInherited() {return true;} + /** + * This determines if the command is invoked when in script mode. + */ + virtual bool IsScriptable() { return true; } + /** * More documentation. */