CMake: don't use else after return

This commit is contained in:
Daniel Pfeifer
2016-08-18 20:36:29 +02:00
parent 50ad1e0a14
commit 7b6349da4d
33 changed files with 362 additions and 379 deletions
+3 -4
View File
@@ -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.