summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallCommand.cxx
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2012-02-29 22:02:56 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-28 13:21:39 (GMT)
commit5c898fbd99f6d12e8835a0dd3b229d93812e7533 (patch)
treecffbfe8c6c48f4762dbd01d2edb51c7b1f50f9a8 /Source/cmInstallCommand.cxx
parentd13ec1ac31518d5c7875e9fa8b849e42ed66a3a3 (diff)
downloadCMake-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.cxx3
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);
}
}