diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 6b893198f..a3c95be8a 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -224,7 +224,7 @@ void cmake::CleanupCommandsAndMacros() for(RegisteredCommandsMap::iterator j = this->Commands.begin(); j != this->Commands.end(); ++j) { - if ( !j->second->IsA("cmMacroHelpperCommand") && + if ( !j->second->IsA("cmMacroHelperCommand") && !j->second->IsA("cmFunctionHelperCommand")) { commands.push_back(j->second);