summaryrefslogtreecommitdiffstats
path: root/Source/cmVariableWatchCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmVariableWatchCommand.h')
-rw-r--r--Source/cmVariableWatchCommand.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmVariableWatchCommand.h b/Source/cmVariableWatchCommand.h
index 61d6226..cca13e2 100644
--- a/Source/cmVariableWatchCommand.h
+++ b/Source/cmVariableWatchCommand.h
@@ -56,6 +56,10 @@ public:
*/
virtual bool IsScriptable() { return true; }
+ /** This command does not really have a final pass but it needs to
+ stay alive since it owns variable watch callback information. */
+ virtual bool HasFinalPass() const { return true; }
+
/**
* The name of the command as specified in CMakeList.txt.
*/