summaryrefslogtreecommitdiffstats
path: root/Source/cmExportInstallFileGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-04 17:19:41 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-04 17:19:41 (GMT)
commit1aa13f2b58e477095f76d28a8d9bb1b83a9dd1f5 (patch)
treedd32f318cc887626a2b5bffc34182e85375db37e /Source/cmExportInstallFileGenerator.cxx
parent1ab59f688f647abe1bc0b5e7a187ec0bac988e0f (diff)
downloadCMake-1aa13f2b58e477095f76d28a8d9bb1b83a9dd1f5.zip
CMake-1aa13f2b58e477095f76d28a8d9bb1b83a9dd1f5.tar.gz
CMake-1aa13f2b58e477095f76d28a8d9bb1b83a9dd1f5.tar.bz2
cmExportInstallFileGenerator: Simplify local generator access.
Diffstat (limited to 'Source/cmExportInstallFileGenerator.cxx')
-rw-r--r--Source/cmExportInstallFileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx
index 1d75f43..c88b7b2 100644
--- a/Source/cmExportInstallFileGenerator.cxx
+++ b/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);