ENH: do not write over existing cache values even doc strings to avoid changing the cache file
This commit is contained in:
parent
b51230a565
commit
3173249761
|
@ -65,11 +65,5 @@ bool cmOptionCommand::InitialPass(std::vector<std::string> const& args)
|
|||
cmSystemTools::IsOn(initialValue.c_str()),
|
||||
args[1].c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Makefile->AddCacheDefinition(args[0].c_str(),
|
||||
cmSystemTools::IsOn(cacheValue), args[1].c_str());
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue