Merge topic 'link-library-parse-regex'
5fe3ac8
Prefer non-empty prefixes when matching lib names (#11468)
This commit is contained in:
commit
0a5600af2d
|
@ -923,7 +923,7 @@ void cmComputeLinkInformation::ComputeItemParserInfo()
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void cmComputeLinkInformation::AddLinkPrefix(const char* p)
|
void cmComputeLinkInformation::AddLinkPrefix(const char* p)
|
||||||
{
|
{
|
||||||
if(p)
|
if(p && *p)
|
||||||
{
|
{
|
||||||
this->LinkPrefixes.insert(p);
|
this->LinkPrefixes.insert(p);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue