cmExportInstallFileGenerator: Simplify local generator access.

This commit is contained in:
Stephen Kelly 2015-08-04 19:19:41 +02:00
parent 1ab59f688f
commit 1aa13f2b58
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ cmExportInstallFileGenerator
if(!properties.empty()) if(!properties.empty())
{ {
// Get the rest of the target details. // Get the rest of the target details.
cmGeneratorTarget *gtgt = te->Target->GetMakefile()->GetLocalGenerator() cmGeneratorTarget *gtgt = te->Target->GetMakefile()
->GetGlobalGenerator()->GetGeneratorTarget(te->Target); ->GetGlobalGenerator()->GetGeneratorTarget(te->Target);
this->SetImportDetailProperties(config, suffix, this->SetImportDetailProperties(config, suffix,
gtgt, properties, missingTargets); gtgt, properties, missingTargets);