mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
exports: Hold an ExportSet pointer in cm*Export*Generator
Get name from this->ExportSet.
This commit is contained in:
committed by
Brad King
parent
5c898fbd99
commit
81cdab5bea
@@ -1271,7 +1271,9 @@ bool cmInstallCommand::HandleExportMode(std::vector<std::string> const& args)
|
||||
// Create the export install generator.
|
||||
cmInstallExportGenerator* exportGenerator =
|
||||
new cmInstallExportGenerator(
|
||||
exp.GetCString(), ica.GetDestination().c_str(),
|
||||
this->Makefile->GetLocalGenerator()
|
||||
->GetGlobalGenerator()->GetExportSets()[exp.GetString()],
|
||||
ica.GetDestination().c_str(),
|
||||
ica.GetPermissions().c_str(), ica.GetConfigurations(),
|
||||
ica.GetComponent().c_str(), fname.c_str(),
|
||||
name_space.GetCString(), this->Makefile);
|
||||
|
||||
Reference in New Issue
Block a user