summaryrefslogtreecommitdiff
path: root/Source/cmInstallTargetsCommand.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-03-23 16:42:11 +0100
committerSebastian Holtermann <sebholt@xwmw.org>2019-03-23 21:45:10 +0100
commit0dcef68cd8961f8b3d89edbf46093949778daac8 (patch)
treee1085c3c600c76f68c9c092bf8c1e57792cb47b8 /Source/cmInstallTargetsCommand.cxx
parent5db17e9d8107629c1dabd0c1e2bf26429e5d841d (diff)
downloadcmake-0dcef68cd8961f8b3d89edbf46093949778daac8.tar.gz
cmTarget: Move member `InstallPath` to impl
Diffstat (limited to 'Source/cmInstallTargetsCommand.cxx')
-rw-r--r--Source/cmInstallTargetsCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallTargetsCommand.cxx b/Source/cmInstallTargetsCommand.cxx
index d721ca0ee1..8f417dbb44 100644
--- a/Source/cmInstallTargetsCommand.cxx
+++ b/Source/cmInstallTargetsCommand.cxx
@@ -40,7 +40,7 @@ bool cmInstallTargetsCommand::InitialPass(std::vector<std::string> const& args,
} else {
cmTargets::iterator ti = tgts.find(*s);
if (ti != tgts.end()) {
- ti->second.SetInstallPath(args[0].c_str());
+ ti->second.SetInstallPath(args[0]);
ti->second.SetRuntimeInstallPath(runtime_dir.c_str());
ti->second.SetHaveInstallRule(true);
} else {