mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-06 04:03:27 +03:00
cmGeneratorTarget: remove dead code
explicitLibraries can never be nullptr at this point
This commit is contained in:
1 parent
3345e2a2cc
commit
85a7eaba5e
1 file changed
+1
-1
@@ -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