Explorar o código

cmExportInstallFileGenerator: Simplify local generator access.

Stephen Kelly %!s(int64=10) %!d(string=hai) anos
pai
achega
1aa13f2b58
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Source/cmExportInstallFileGenerator.cxx

+ 1 - 1
Source/cmExportInstallFileGenerator.cxx

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