diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-12 18:06:45 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-12 18:06:45 (GMT) |
commit | 359ca21903fd4bef035e891ff9b366a2a0c5419f (patch) | |
tree | ae80f010b060f0efc4bf3fc2ee5f3da82f008d5a /Source | |
parent | c8ced2aca6dd782289afcb6e7b392af679bfe5ac (diff) | |
download | CMake-359ca21903fd4bef035e891ff9b366a2a0c5419f.zip CMake-359ca21903fd4bef035e891ff9b366a2a0c5419f.tar.gz CMake-359ca21903fd4bef035e891ff9b366a2a0c5419f.tar.bz2 |
BUG: fix reg expression
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 de42983..b46304a 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -526,7 +526,7 @@ void cmLocalUnixMakefileGenerator::OutputLinkLibraries(std::ostream& fout, std::string regexp = ".*\\"; regexp += linkSuffix; regexp += "$"; - cmRegularExpression hasSuffix(linkSuffix.c_str()); + cmRegularExpression hasSuffix(regexp.c_str()); std::string librariesLinked; const cmTarget::LinkLibraries& libs = tgt.GetLinkLibraries(); for(cmTarget::LinkLibraries::const_iterator lib = libs.begin(); |