diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-20 21:03:28 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-20 21:03:28 (GMT) |
commit | 191fc3a0f373d262e2f2e5a2ccb07979e227d683 (patch) | |
tree | 2e9dbe7666d221c297b2346c2af298da2c3f4969 /Source/cmLocalUnixMakefileGenerator3.cxx | |
parent | b86007e385fc0f4cc45149b68cafebad749bf6e8 (diff) | |
download | CMake-191fc3a0f373d262e2f2e5a2ccb07979e227d683.zip CMake-191fc3a0f373d262e2f2e5a2ccb07979e227d683.tar.gz CMake-191fc3a0f373d262e2f2e5a2ccb07979e227d683.tar.bz2 |
cmOutputConverter: remove unused 'local' argument
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 460f0e2..0478a3a 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -2068,19 +2068,18 @@ void cmLocalUnixMakefileGenerator3::CreateCDCommand( // back because the shell keeps the working directory between // commands. std::string cmd = cd_cmd; - cmd += this->ConvertToOutputForExisting(tgtDir, relRetDir); + cmd += this->ConvertToOutputForExisting(tgtDir); commands.insert(commands.begin(), cmd); // Change back to the starting directory. cmd = cd_cmd; - cmd += this->ConvertToOutputForExisting(relRetDir, tgtDir); + cmd += this->ConvertToOutputForExisting(relRetDir); commands.push_back(cmd); } else { // On UNIX we must construct a single shell command to change // directory and build because make resets the directory between // each command. - std::string outputForExisting = - this->ConvertToOutputForExisting(tgtDir, relRetDir); + std::string outputForExisting = this->ConvertToOutputForExisting(tgtDir); std::string prefix = cd_cmd + outputForExisting + " && "; std::transform(commands.begin(), commands.end(), commands.begin(), std::bind1st(std::plus<std::string>(), prefix)); |