cmComputeTargetDepends: Use simpler global generator access.
This commit is contained in:
parent
040491fc58
commit
cbf143bb76
|
@ -216,9 +216,7 @@ void cmComputeTargetDepends::CollectTargetDepends(int depender_index)
|
||||||
// deal with config-specific dependencies.
|
// deal with config-specific dependencies.
|
||||||
{
|
{
|
||||||
std::set<std::string> emitted;
|
std::set<std::string> emitted;
|
||||||
cmGeneratorTarget* gt = depender->GetMakefile()->GetLocalGenerator()
|
cmGeneratorTarget* gt = this->GlobalGenerator->GetGeneratorTarget(depender);
|
||||||
->GetGlobalGenerator()
|
|
||||||
->GetGeneratorTarget(depender);
|
|
||||||
|
|
||||||
std::vector<std::string> configs;
|
std::vector<std::string> configs;
|
||||||
depender->GetMakefile()->GetConfigurations(configs);
|
depender->GetMakefile()->GetConfigurations(configs);
|
||||||
|
|
Loading…
Reference in New Issue