summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-08-27 11:44:52 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-08-27 11:44:52 (GMT)
commite3ca17e13b8d2aecc6d97ac800d65c6c35378a98 (patch)
tree4bf2a88c6d02a9df65951252be247d9360545c51 /Source/cmLocalUnixMakefileGenerator3.cxx
parent0bbdbd95c9515a4714ef1d57a17c7271bc4d1774 (diff)
downloadCMake-e3ca17e13b8d2aecc6d97ac800d65c6c35378a98.zip
CMake-e3ca17e13b8d2aecc6d97ac800d65c6c35378a98.tar.gz
CMake-e3ca17e13b8d2aecc6d97ac800d65c6c35378a98.tar.bz2
Makefiles: Use string overload of ConvertToOutputForExisting
The string is already determined so, no need to call the overload to determine it again.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 4ecd0b2..22937e3 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -2073,7 +2073,7 @@ void cmLocalUnixMakefileGenerator3::CreateCDCommand(
// Change back to the starting directory.
cmd = cd_cmd;
- cmd += this->ConvertToOutputForExisting(relRetDir);
+ cmd += this->ConvertToOutputForExisting(relDir);
commands.push_back(cmd);
} else {
// On UNIX we must construct a single shell command to change