mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
CMake: don't use else after return
This commit is contained in:
@@ -211,11 +211,10 @@ void cmExportBuildFileGenerator::HandleMissingTarget(
|
||||
link_libs += missingTarget;
|
||||
missingTargets.push_back(missingTarget);
|
||||
return;
|
||||
} else {
|
||||
// We are not appending, so all exported targets should be
|
||||
// known here. This is probably user-error.
|
||||
this->ComplainAboutMissingTarget(depender, dependee, targetOccurrences);
|
||||
}
|
||||
// We are not appending, so all exported targets should be
|
||||
// known here. This is probably user-error.
|
||||
this->ComplainAboutMissingTarget(depender, dependee, targetOccurrences);
|
||||
}
|
||||
// Assume the target will be exported by another command.
|
||||
// Append it with the export namespace.
|
||||
|
||||
Reference in New Issue
Block a user