mirror of
https://github.com/reactos/CMake.git
synced 2025-02-03 10:31:55 +00:00
Makefiles: Extract identical code from condition
This commit is contained in:
parent
378849f41e
commit
009019f259
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user