mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
Makefiles: Separate two coupled calls
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user