mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 14:50:15 -05:00
cmExportSet: Store a cmGeneratorTarget.
Set the member at compute time from the stored name.
This commit is contained in:
@@ -27,6 +27,10 @@ cmExportBuildFileGenerator::cmExportBuildFileGenerator()
|
||||
void cmExportBuildFileGenerator::Compute(cmLocalGenerator* lg)
|
||||
{
|
||||
this->LG = lg;
|
||||
if (this->ExportSet)
|
||||
{
|
||||
this->ExportSet->Compute(lg);
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
@@ -274,7 +278,7 @@ void cmExportBuildFileGenerator
|
||||
tei = this->ExportSet->GetTargetExports()->begin();
|
||||
tei != this->ExportSet->GetTargetExports()->end(); ++tei)
|
||||
{
|
||||
targets.push_back((*tei)->GetName());
|
||||
targets.push_back((*tei)->TargetName);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user