BUG: can not Add a definition that you just got
This commit is contained in:
parent
db1303aa7d
commit
333e2dbf63
|
@ -52,7 +52,6 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string>& args)
|
|||
= m_Makefile->GetDefinition("SITE");
|
||||
if(cacheValue)
|
||||
{
|
||||
m_Makefile->AddDefinition("SITE", cacheValue);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -61,8 +61,6 @@ bool cmUtilitySourceCommand::InitialPass(std::vector<std::string>& args)
|
|||
(m_Makefile->GetCacheMajorVersion() != 0
|
||||
&& m_Makefile->GetCacheMinorVersion() != 0 ))
|
||||
{
|
||||
// Set the makefile's definition with the cache value.
|
||||
m_Makefile->AddDefinition(cacheEntry.c_str(), cacheValue);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue