summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-01 19:33:32 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-01 19:33:32 (GMT)
commitf5559b0ec850b4af9ac01e5b282593428e9270ac (patch)
treec39a4d082ef5fff5be773d1482220da1b4a01152 /Source/cmLocalUnixMakefileGenerator.cxx
parent1f3106c1b064342b80c253847c2cd31d0cb4ddb4 (diff)
downloadCMake-f5559b0ec850b4af9ac01e5b282593428e9270ac.zip
CMake-f5559b0ec850b4af9ac01e5b282593428e9270ac.tar.gz
CMake-f5559b0ec850b4af9ac01e5b282593428e9270ac.tar.bz2
ENH: Add support for -pthread
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 64b5357..227bdc0 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -583,7 +583,7 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout,
// if a variable expands to nothing.
if (lib->first.size() == 0) continue;
// if it is a full path break it into -L and -l
- cmsys::RegularExpression reg("([ \t]*\\-l)|([ \t]*\\-framework)|(\\${)");
+ cmsys::RegularExpression reg("([ \t]*\\-l)|([ \t]*\\-framework)|(\\${)|([ \t]*\\-pthread)");
if(lib->first.find('/') != std::string::npos
&& !reg.find(lib->first))
{