mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-09 23:44:00 +03:00
Makefiles: Extract identical code from condition
This commit is contained in:
1 parent
378849f41e
commit
009019f259
1 file changed
+2
-5
@@ -999,12 +999,9 @@ void cmLocalUnixMakefileGenerator3::AppendCustomCommand(
|
|||||||
if (workingDir.empty()) {
|
if (workingDir.empty()) {
|
||||||
output = this->MaybeConvertToRelativePath(
|
output = this->MaybeConvertToRelativePath(
|
||||||
this->GetCurrentBinaryDirectory(), output);
|
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();
|
vars.Output = output.c_str();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user