diff options
author | Ken Martin <ken.martin@kitware.com> | 2004-05-12 18:32:25 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2004-05-12 18:32:25 (GMT) |
commit | 79fcc81b6a031cab21e8bd0e3487cdb542aed7ff (patch) | |
tree | dd9a7ef5319c752d93644c89942cf345e2eed162 /Source/cmForEachCommand.cxx | |
parent | 0b2bdfa2898f4dd5beb0be5a7cf2964936ecda65 (diff) | |
download | CMake-79fcc81b6a031cab21e8bd0e3487cdb542aed7ff.zip CMake-79fcc81b6a031cab21e8bd0e3487cdb542aed7ff.tar.gz CMake-79fcc81b6a031cab21e8bd0e3487cdb542aed7ff.tar.bz2 |
better error checking for FOREACH
Diffstat (limited to 'Source/cmForEachCommand.cxx')
-rw-r--r-- | Source/cmForEachCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmForEachCommand.cxx b/Source/cmForEachCommand.cxx index 24f17fa..f8bda28 100644 --- a/Source/cmForEachCommand.cxx +++ b/Source/cmForEachCommand.cxx @@ -63,7 +63,8 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf) mf.ExecuteCommand(newLFF); } } - return false; + mf.RemoveFunctionBlocker(lff); + return true; } } |