summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetsCommand.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-03-23 15:45:21 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-03-23 20:45:10 (GMT)
commit30495bb1c291627f94912049da6e06d951a062ec (patch)
tree79e45d0f5b09df4d2049d32bc0b6bb7563d95d12 /Source/cmInstallTargetsCommand.cxx
parent0dcef68cd8961f8b3d89edbf46093949778daac8 (diff)
downloadCMake-30495bb1c291627f94912049da6e06d951a062ec.zip
CMake-30495bb1c291627f94912049da6e06d951a062ec.tar.gz
CMake-30495bb1c291627f94912049da6e06d951a062ec.tar.bz2
cmTarget: Move member `RuntimeInstallPath` 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 8f417db..7e67d4e 100644
--- a/Source/cmInstallTargetsCommand.cxx
+++ b/Source/cmInstallTargetsCommand.cxx
@@ -41,7 +41,7 @@ bool cmInstallTargetsCommand::InitialPass(std::vector<std::string> const& args,
cmTargets::iterator ti = tgts.find(*s);
if (ti != tgts.end()) {
ti->second.SetInstallPath(args[0]);
- ti->second.SetRuntimeInstallPath(runtime_dir.c_str());
+ ti->second.SetRuntimeInstallPath(runtime_dir);
ti->second.SetHaveInstallRule(true);
} else {
std::string str = "Cannot find target: \"" + *s + "\" to install.";