瀏覽代碼

cmExportInstallFileGenerator: Simplify local generator access.

Stephen Kelly 10 年之前
父節點
當前提交
1aa13f2b58
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);