Merge topic 'link-library-parse-regex'

5fe3ac8 Prefer non-empty prefixes when matching lib names (#11468)
This commit is contained in:
David Cole 2010-11-23 16:11:43 -05:00 committed by CMake Topic Stage
commit 0a5600af2d

View File

@ -923,7 +923,7 @@ void cmComputeLinkInformation::ComputeItemParserInfo()
//----------------------------------------------------------------------------
void cmComputeLinkInformation::AddLinkPrefix(const char* p)
{
if(p)
if(p && *p)
{
this->LinkPrefixes.insert(p);
}