diff options
author | Brad King <brad.king@kitware.com> | 2001-12-18 14:16:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-12-18 14:16:48 (GMT) |
commit | dca0fd0859a941665c9c1648f8ca3cf42fda1141 (patch) | |
tree | 1e0261d0b6b3d448707a35749a44c624e6ac547b /Source | |
parent | e89d9d3378dd9728b10f0f17363c04662c100543 (diff) | |
download | CMake-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.cxx | 1 |
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 |