BUG: make ENABLE_LANGUAGE(ASM-ATT OPTIONAL) work again: if it didn't work
but was optional, don't delete the cache Alex
This commit is contained in:
parent
83c3bf7acc
commit
4ce05b6e07
|
@ -90,7 +90,7 @@ void cmGlobalUnixMakefileGenerator3
|
||||||
const char* cname = this->GetCMakeInstance()->
|
const char* cname = this->GetCMakeInstance()->
|
||||||
GetCacheManager()->GetCacheValue(langComp.c_str());
|
GetCacheManager()->GetCacheValue(langComp.c_str());
|
||||||
std::string changeVars;
|
std::string changeVars;
|
||||||
if(cname && (path != cname))
|
if(cname && (path != cname) && (optional==false))
|
||||||
{
|
{
|
||||||
const char* cvars =
|
const char* cvars =
|
||||||
this->GetCMakeInstance()->GetProperty(
|
this->GetCMakeInstance()->GetProperty(
|
||||||
|
|
Loading…
Reference in New Issue