BUG: Do not recognize ':' in a library name
In cmComputeLinkInformation we construct regular expressions to recognize library file names. This fixes the expressions to not allow a colon (':') in the file name so that "-l:libfoo.a" is left alone.
This commit is contained in:
parent
87c3e1662c
commit
06a1e35d8a
|
@ -875,7 +875,7 @@ void cmComputeLinkInformation::ComputeItemParserInfo()
|
||||||
reg += "|";
|
reg += "|";
|
||||||
}
|
}
|
||||||
reg += ")";
|
reg += ")";
|
||||||
reg += "([^/]*)";
|
reg += "([^/:]*)";
|
||||||
|
|
||||||
// Create a regex to match any library name.
|
// Create a regex to match any library name.
|
||||||
std::string reg_any = reg;
|
std::string reg_any = reg;
|
||||||
|
|
Loading…
Reference in New Issue