summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-13 20:24:16 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-13 20:24:16 (GMT)
commit1b115dc2e3ad57c7555716ecab3a096e26acfac7 (patch)
tree82709c180f7fefd5adf9242fc69b88e3e2d73780 /Source
parent472c00e3a4ba5b44d503dca828e4b896d56ae502 (diff)
downloadCMake-1b115dc2e3ad57c7555716ecab3a096e26acfac7.zip
CMake-1b115dc2e3ad57c7555716ecab3a096e26acfac7.tar.gz
CMake-1b115dc2e3ad57c7555716ecab3a096e26acfac7.tar.bz2
ENH: add -L as possible library flag
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 3bb1729..e0fc622 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -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;