diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-02-29 19:23:22 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-02-29 19:23:22 (GMT) |
commit | bdd4f8a2165f199575e86d2497e3b305a0bf24cb (patch) | |
tree | f0abafd83be2922fb2b27b484213f2507db70e46 /Source | |
parent | 3455bec9cb3438e30eb9d7f80aa1c372b212e955 (diff) | |
download | CMake-bdd4f8a2165f199575e86d2497e3b305a0bf24cb.zip CMake-bdd4f8a2165f199575e86d2497e3b305a0bf24cb.tar.gz CMake-bdd4f8a2165f199575e86d2497e3b305a0bf24cb.tar.bz2 |
ENH: Handle backticks as a valid library
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index 7c7d227..936555e 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -742,7 +742,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)|(\\${)|([ \t]*\\-pthread)"); + cmsys::RegularExpression reg("^([ \t]*\\-l)|([ \t]*\\-framework)|(\\${)|([ \t]*\\-pthread)|([ \t]*`)"); if(lib->first.find('/') != std::string::npos && !reg.find(lib->first)) { |