mirror of
https://github.com/reactos/CMake.git
synced 2025-01-23 03:58:02 +00:00
ENH: add -L as possible library flag
This commit is contained in:
parent
472c00e3a4
commit
1b115dc2e3
@ -1294,7 +1294,7 @@ void cmLocalGenerator::OutputLinkLibraries(std::ostream& fout,
|
||||
{
|
||||
cmStdString& linkItem = *lib;
|
||||
// check to see if the link item has a -l already
|
||||
cmsys::RegularExpression reg("^([ \t]*\\-[lWRB])|([ \t]*\\-framework)|(\\${)|([ \t]*\\-pthread)|([ \t]*`)");
|
||||
cmsys::RegularExpression reg("^([ \t]*\\-[lLWRB])|([ \t]*\\-framework)|(\\${)|([ \t]*\\-pthread)|([ \t]*`)");
|
||||
if(!reg.find(linkItem))
|
||||
{
|
||||
librariesLinked += libLinkFlag;
|
||||
|
Loading…
x
Reference in New Issue
Block a user