summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmIfCommand.h')
-rw-r--r--Source/cmIfCommand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h
index 90cf1a0..1d07248 100644
--- a/Source/cmIfCommand.h
+++ b/Source/cmIfCommand.h
@@ -28,7 +28,7 @@
class cmIfFunctionBlocker : public cmFunctionBlocker
{
public:
- cmIfFunctionBlocker() {}
+ cmIfFunctionBlocker() {this->HasRun = false;}
virtual ~cmIfFunctionBlocker() {}
virtual bool IsFunctionBlocked(const cmListFileFunction& lff,
cmMakefile &mf);
@@ -38,6 +38,7 @@ public:
std::vector<cmListFileArgument> Args;
bool IsBlocking;
+ bool HasRun;
};
/** \class cmIfCommand