BUG: Existing projects have cache entries with the same name as the command they adjust (VTK_WRAP_JAVA in VTK, for example). Setting the command name as a variable is too dangerous.

This commit is contained in:
Brad King 2001-12-18 09:16:48 -05:00
parent e89d9d3378
commit dca0fd0859
1 changed files with 0 additions and 1 deletions

View File

@ -390,7 +390,6 @@ void cmMakefile::AddCommand(cmCommand* wg)
{
std::string name = wg->GetName();
m_Commands.insert( RegisteredCommandsMap::value_type(name, wg));
this->AddDefinition(name.c_str(), true);
}
// Set the make file