summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-12-18 14:16:48 (GMT)
committerBrad King <brad.king@kitware.com>2001-12-18 14:16:48 (GMT)
commitdca0fd0859a941665c9c1648f8ca3cf42fda1141 (patch)
tree1e0261d0b6b3d448707a35749a44c624e6ac547b /Source
parente89d9d3378dd9728b10f0f17363c04662c100543 (diff)
downloadCMake-dca0fd0859a941665c9c1648f8ca3cf42fda1141.zip
CMake-dca0fd0859a941665c9c1648f8ca3cf42fda1141.tar.gz
CMake-dca0fd0859a941665c9c1648f8ca3cf42fda1141.tar.bz2
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.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index ac48b82..81b4b33 100644
--- a/Source/cmMakefile.cxx
+++ b/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