mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-08 23:44:00 +03:00
Ninja: Extract identical code from condition
This commit is contained in:
1 parent
d9fde87d1a
commit
cc5e6b82c2
1 file changed
+1
-3
@@ -492,10 +492,8 @@ std::string cmLocalNinjaGenerator::MakeCustomLauncher(
|
||||
if (ccg.GetWorkingDirectory().empty()) {
|
||||
output =
|
||||
this->ConvertToRelativePath(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