diff options
-rw-r--r-- | Source/cmVariableWatchCommand.h | 4 |
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. */ |