summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileExecutableTargetGenerator.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)
commite0fd2d0446101847dd40cfe4cc451667d04ddcd9 (patch)
tree39f52ae6710edb8af4533e2183077e0cdfa4abaa /Source/cmMakefileExecutableTargetGenerator.cxx
parentad70a236f4368c21c08bcd4ea4d28425176c4e17 (diff)
downloadCMake-e0fd2d0446101847dd40cfe4cc451667d04ddcd9.zip
CMake-e0fd2d0446101847dd40cfe4cc451667d04ddcd9.tar.gz
CMake-e0fd2d0446101847dd40cfe4cc451667d04ddcd9.tar.bz2
Makefiles: Port CreateCDCommand to string-based API
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx
index 6fadc8f..daf1587 100644
--- a/Source/cmMakefileExecutableTargetGenerator.cxx
+++ b/Source/cmMakefileExecutableTargetGenerator.cxx
@@ -389,7 +389,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
}
this->LocalGenerator->CreateCDCommand(
commands1, this->Makefile->GetCurrentBinaryDirectory(),
- cmOutputConverter::HOME_OUTPUT);
+ this->LocalGenerator->GetBinaryDirectory());
commands.insert(commands.end(), commands1.begin(), commands1.end());
commands1.clear();
@@ -402,7 +402,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
commands1.push_back(symlink);
this->LocalGenerator->CreateCDCommand(
commands1, this->Makefile->GetCurrentBinaryDirectory(),
- cmOutputConverter::HOME_OUTPUT);
+ this->LocalGenerator->GetBinaryDirectory());
commands.insert(commands.end(), commands1.begin(), commands1.end());
commands1.clear();
}