summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-09-22 15:23:51 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-09-22 15:23:51 (GMT)
commit5e46232ad8f6667e1e9a62b11ce4524097ad085a (patch)
tree9289ba7495116114ff7ea201c2bc18a8bb43ab05 /Source/cmIfCommand.h
parentc27e9fd656fce1b0ea2bd53ddf85c711c14813d9 (diff)
downloadCMake-5e46232ad8f6667e1e9a62b11ce4524097ad085a.zip
CMake-5e46232ad8f6667e1e9a62b11ce4524097ad085a.tar.gz
CMake-5e46232ad8f6667e1e9a62b11ce4524097ad085a.tar.bz2
ENH: added elseif
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