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 2013-09-12 17:12:42 +02:00 committed by Brad King
parent 81d2793e92
commit 271bf10263
1 changed files with 1 additions and 1 deletions

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