mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-18 00:02:21 +08:00
cmExportInstallFileGenerator: Simplify local generator access.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user