diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-12-12 15:07:20 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-12-12 15:07:20 (GMT) |
commit | 372ce05a07a5c6c7e1893e7b47922c1292d2a6de (patch) | |
tree | 19d9aba4354628ec12799c8e8a57f4f8c5ef8be7 /Source/cmIfCommand.h | |
parent | 97eceffa232f615f7352e871ff35c2de0f498db4 (diff) | |
download | CMake-372ce05a07a5c6c7e1893e7b47922c1292d2a6de.zip CMake-372ce05a07a5c6c7e1893e7b47922c1292d2a6de.tar.gz CMake-372ce05a07a5c6c7e1893e7b47922c1292d2a6de.tar.bz2 |
ENH: fix a warning and a nice fix to the IF command
Diffstat (limited to 'Source/cmIfCommand.h')
-rw-r--r-- | Source/cmIfCommand.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h index 757377c..fcdbc09 100644 --- a/Source/cmIfCommand.h +++ b/Source/cmIfCommand.h @@ -28,7 +28,7 @@ class cmIfFunctionBlocker : public cmFunctionBlocker { public: - cmIfFunctionBlocker() {this->HasRun = false;} + cmIfFunctionBlocker() {this->HasRun = false; this->ScopeDepth = 0;} virtual ~cmIfFunctionBlocker() {} virtual bool IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf); @@ -39,6 +39,7 @@ public: std::vector<cmListFileArgument> Args; bool IsBlocking; bool HasRun; + unsigned int ScopeDepth; }; /** \class cmIfCommand |