diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-12-03 18:35:41 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-12-03 18:35:41 (GMT) |
commit | f4b1c3880be819ea1c996e2754cc231285c4a40e (patch) | |
tree | c5c880392b4c16e669a9df6814a0919226a5ab06 /Source/cmake.cxx | |
parent | 257b775f70b98e2242f01a252e08a55cdac91993 (diff) | |
download | CMake-f4b1c3880be819ea1c996e2754cc231285c4a40e.zip CMake-f4b1c3880be819ea1c996e2754cc231285c4a40e.tar.gz CMake-f4b1c3880be819ea1c996e2754cc231285c4a40e.tar.bz2 |
ENH: add functions and raise scope
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index f14bb56..82db89e 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -224,7 +224,8 @@ void cmake::CleanupCommandsAndMacros() for(RegisteredCommandsMap::iterator j = this->Commands.begin(); j != this->Commands.end(); ++j) { - if ( !j->second->IsA("cmMacroHelperCommand") ) + if ( !j->second->IsA("cmMacroHelperCommand") && + !j->second->IsA("cmFunctionHelperCommand")) { commands.push_back(j->second); } |