mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Avoid else after return
This commit is contained in:
@@ -353,10 +353,9 @@ bool cmTargetLinkLibrariesCommand::HandleLibrary(const std::string& lib,
|
||||
"INTERFACE_LINK_LIBRARIES",
|
||||
this->Target->GetDebugGeneratorExpressions(lib, llt).c_str());
|
||||
return true;
|
||||
} else if (this->CurrentProcessingState !=
|
||||
ProcessingKeywordPublicInterface &&
|
||||
this->CurrentProcessingState !=
|
||||
ProcessingPlainPublicInterface) {
|
||||
}
|
||||
if (this->CurrentProcessingState != ProcessingKeywordPublicInterface &&
|
||||
this->CurrentProcessingState != ProcessingPlainPublicInterface) {
|
||||
if (this->Target->GetType() == cmState::STATIC_LIBRARY) {
|
||||
std::string configLib =
|
||||
this->Target->GetDebugGeneratorExpressions(lib, llt);
|
||||
|
||||
Reference in New Issue
Block a user