BUG: fix perfered linker language code
This commit is contained in:
parent
8691def12a
commit
8cb20b7052
|
@ -806,6 +806,6 @@ const char* cmTarget::GetLinkerLanguage(cmGlobalGenerator* gg) const
|
||||||
{
|
{
|
||||||
prefLang = languages.begin()->c_str();
|
prefLang = languages.begin()->c_str();
|
||||||
}
|
}
|
||||||
const_cast<cmTarget*>(this)->SetProperty("LINKER_LANGUAGE", languages.begin()->c_str());
|
const_cast<cmTarget*>(this)->SetProperty("LINKER_LANGUAGE", prefLang);
|
||||||
return this->GetProperty("LINKER_LANGUAGE");
|
return this->GetProperty("LINKER_LANGUAGE");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue