Fix CMP0022 warning when no old-style property is set
The string could be null at this point.
This commit is contained in:
parent
81d2793e92
commit
271bf10263
|
@ -6449,7 +6449,7 @@ bool cmTarget::ComputeLinkInterface(const char* config, LinkInterface& iface,
|
|||
<< newExplicitLibraries
|
||||
<< "\n"
|
||||
<< linkIfaceProp << ":\n "
|
||||
<< explicitLibraries << "\n";
|
||||
<< (explicitLibraries ? explicitLibraries : "(empty)") << "\n";
|
||||
this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, w.str());
|
||||
}
|
||||
// Fall through
|
||||
|
|
Loading…
Reference in New Issue