cmGeneratorTarget: Port language computation to cmGeneratorTarget.
This commit is contained in:
parent
60bd9f9c92
commit
0ebe2bbf4a
|
@ -5276,10 +5276,10 @@ void cmGeneratorTarget::GetLanguages(std::set<std::string>& languages,
|
||||||
i = externalObjects.begin(); i != externalObjects.end(); ++i)
|
i = externalObjects.begin(); i != externalObjects.end(); ++i)
|
||||||
{
|
{
|
||||||
std::string objLib = (*i)->GetObjectLibrary();
|
std::string objLib = (*i)->GetObjectLibrary();
|
||||||
if (cmTarget* tgt = this->Makefile->FindTargetToUse(objLib))
|
if (cmGeneratorTarget* tgt =
|
||||||
|
this->LocalGenerator->FindGeneratorTargetToUse(objLib))
|
||||||
{
|
{
|
||||||
objectLibraries.push_back(this->GlobalGenerator
|
objectLibraries.push_back(tgt);
|
||||||
->GetGeneratorTarget(tgt));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue