diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2012-02-29 22:02:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-09-28 13:21:39 (GMT) |
commit | 5c898fbd99f6d12e8835a0dd3b229d93812e7533 (patch) | |
tree | cffbfe8c6c48f4762dbd01d2edb51c7b1f50f9a8 /Source/cmInstallCommand.cxx | |
parent | d13ec1ac31518d5c7875e9fa8b849e42ed66a3a3 (diff) | |
download | CMake-5c898fbd99f6d12e8835a0dd3b229d93812e7533.zip CMake-5c898fbd99f6d12e8835a0dd3b229d93812e7533.tar.gz CMake-5c898fbd99f6d12e8835a0dd3b229d93812e7533.tar.bz2 |
exports: Add cmExportSetMap class
This is a map<string, cmExportSet *> with overloaded operator[] and destructor.
Diffstat (limited to 'Source/cmInstallCommand.cxx')
-rw-r--r-- | Source/cmInstallCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx index 62fc2ef..6eaa103 100644 --- a/Source/cmInstallCommand.cxx +++ b/Source/cmInstallCommand.cxx @@ -18,6 +18,7 @@ #include "cmInstallExportGenerator.h" #include "cmInstallCommandArguments.h" #include "cmTargetExport.h" +#include "cmExportSet.h" #include <cmsys/Glob.hxx> @@ -745,7 +746,7 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args) te->LibraryGenerator = libraryGenerator; te->RuntimeGenerator = runtimeGenerator; this->Makefile->GetLocalGenerator()->GetGlobalGenerator() - ->AddTargetToExport(exports.GetCString(), te); + ->GetExportSets()[exports.GetString()]->AddTargetExport(te); } } |