Fix CMP0022 warning when no old-style property is set

The string could be null at this point.
This commit is contained in:
Stephen Kelly authored and Brad King committed 2013-09-13 11:34:08 -04:00
1 parent 81d2793e92
commit 271bf10263
1 file changed
+1 -1
+1 -1
View File
@@ -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