mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-08 23:44:00 +03:00
Makefiles: Separate two coupled calls
This commit is contained in:
1 parent
8312fd5c1f
commit
4a3c49b469
1 file changed
+3
-4
@@ -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