summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetsCommand.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-03-23 15:42:11 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-03-23 20:45:10 (GMT)
commit0dcef68cd8961f8b3d89edbf46093949778daac8 (patch)
treee1085c3c600c76f68c9c092bf8c1e57792cb47b8 /Source/cmInstallTargetsCommand.cxx
parent5db17e9d8107629c1dabd0c1e2bf26429e5d841d (diff)
downloadCMake-0dcef68cd8961f8b3d89edbf46093949778daac8.zip
CMake-0dcef68cd8961f8b3d89edbf46093949778daac8.tar.gz
CMake-0dcef68cd8961f8b3d89edbf46093949778daac8.tar.bz2
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 d721ca0..8f417db 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 {