mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-12 01:09:47 -06:00
Makefiles: Extract identical code from condition
This commit is contained in:
@@ -999,12 +999,9 @@ void cmLocalUnixMakefileGenerator3::AppendCustomCommand(
|
||||
if (workingDir.empty()) {
|
||||
output = this->MaybeConvertToRelativePath(
|
||||
this->GetCurrentBinaryDirectory(), output);
|
||||
output =
|
||||
this->ConvertToOutputFormat(output, cmOutputConverter::SHELL);
|
||||
} else {
|
||||
output =
|
||||
this->ConvertToOutputFormat(output, cmOutputConverter::SHELL);
|
||||
}
|
||||
output =
|
||||
this->ConvertToOutputFormat(output, cmOutputConverter::SHELL);
|
||||
}
|
||||
vars.Output = output.c_str();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user