Преглед изворни кода

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.

Brad King пре 24 година
родитељ
комит
dca0fd0859
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      Source/cmMakefile.cxx

+ 0 - 1
Source/cmMakefile.cxx

@@ -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