BUG: can not Add a definition that you just got

This commit is contained in:
Bill Hoffman 2001-08-08 13:14:44 -04:00
parent db1303aa7d
commit 333e2dbf63
2 changed files with 0 additions and 3 deletions

View File

@ -52,7 +52,6 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string>& args)
= m_Makefile->GetDefinition("SITE"); = m_Makefile->GetDefinition("SITE");
if(cacheValue) if(cacheValue)
{ {
m_Makefile->AddDefinition("SITE", cacheValue);
return true; return true;
} }

View File

@ -61,8 +61,6 @@ bool cmUtilitySourceCommand::InitialPass(std::vector<std::string>& args)
(m_Makefile->GetCacheMajorVersion() != 0 (m_Makefile->GetCacheMajorVersion() != 0
&& m_Makefile->GetCacheMinorVersion() != 0 )) && m_Makefile->GetCacheMinorVersion() != 0 ))
{ {
// Set the makefile's definition with the cache value.
m_Makefile->AddDefinition(cacheEntry.c_str(), cacheValue);
return true; return true;
} }