diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2012-03-01 10:52:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-09-28 13:21:39 (GMT) |
commit | 81cdab5beaffc7665550710b84006a0a7ce76cfa (patch) | |
tree | b0a6474986aa464700ef4d3e61ffb09572981d0f /Source/cmInstallCommand.cxx | |
parent | 5c898fbd99f6d12e8835a0dd3b229d93812e7533 (diff) | |
download | CMake-81cdab5beaffc7665550710b84006a0a7ce76cfa.zip CMake-81cdab5beaffc7665550710b84006a0a7ce76cfa.tar.gz CMake-81cdab5beaffc7665550710b84006a0a7ce76cfa.tar.bz2 |
exports: Hold an ExportSet pointer in cm*Export*Generator
Get name from this->ExportSet.
Diffstat (limited to 'Source/cmInstallCommand.cxx')
-rw-r--r-- | Source/cmInstallCommand.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx index 6eaa103..dcd418b 100644 --- a/Source/cmInstallCommand.cxx +++ b/Source/cmInstallCommand.cxx @@ -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); |