Commit 4a3c49b4 authored by Stephen Kelly's avatar Stephen Kelly
Browse files

Makefiles: Separate two coupled calls

parent 8312fd5c
......@@ -996,11 +996,10 @@ void cmLocalUnixMakefileGenerator3::AppendCustomCommand(
const std::vector<std::string>& outputs = ccg.GetOutputs();
if (!outputs.empty()) {
if (workingDir.empty()) {
output = this->ConvertToOutputFormat(
this->MaybeConvertToRelativePath(
this->GetCurrentBinaryDirectory(), outputs[0]),
output = this->MaybeConvertToRelativePath(
this->GetCurrentBinaryDirectory(), outputs[0]);
output = this->ConvertToOutputFormat(output,
cmOutputConverter::SHELL);
} else {
output = this->ConvertToOutputFormat(outputs[0],
cmOutputConverter::SHELL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment