summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-12-03 18:35:41 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-12-03 18:35:41 (GMT)
commitf4b1c3880be819ea1c996e2754cc231285c4a40e (patch)
treec5c880392b4c16e669a9df6814a0919226a5ab06 /Source/cmake.cxx
parent257b775f70b98e2242f01a252e08a55cdac91993 (diff)
downloadCMake-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.cxx3
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);
}