mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 23:00:07 -06:00
cmGeneratorTarget: remove dead code
explicitLibraries can never be nullptr at this point
This commit is contained in:
@@ -4654,7 +4654,7 @@ void cmGeneratorTarget::ComputeLinkInterfaceLibraries(
|
||||
"INTERFACE_LINK_LIBRARIES:\n"
|
||||
" " << newExplicitLibraries << "\n" <<
|
||||
linkIfaceProp << ":\n"
|
||||
" " << (explicitLibraries ? explicitLibraries : "(empty)") << "\n";
|
||||
" " << explicitLibraries << "\n";
|
||||
/* clang-format on */
|
||||
this->LocalGenerator->IssueMessage(cmake::AUTHOR_WARNING, w.str());
|
||||
this->PolicyWarnedCMP0022 = true;
|
||||
|
||||
Reference in New Issue
Block a user