diff options
author | Berk Geveci <berk.geveci@kitware.com> | 2001-10-24 21:51:55 (GMT) |
---|---|---|
committer | Berk Geveci <berk.geveci@kitware.com> | 2001-10-24 21:51:55 (GMT) |
commit | 1096d43d14b27d8d697e41e96df3992fe3d278d9 (patch) | |
tree | 887abb9b158f861a7e6ed64dbd0e883fa856a1a5 /Source/cmUnixMakefileGenerator.cxx | |
parent | 8aa1b69adafb18c9327ef37149f6b7394af3abd2 (diff) | |
download | CMake-1096d43d14b27d8d697e41e96df3992fe3d278d9.zip CMake-1096d43d14b27d8d697e41e96df3992fe3d278d9.tar.gz CMake-1096d43d14b27d8d697e41e96df3992fe3d278d9.tar.bz2 |
ENH: allow -framework as a complete entry in the link line for Mac OSX
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-rw-r--r-- | Source/cmUnixMakefileGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index 5808abc..d87bfdb 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -432,7 +432,7 @@ void cmUnixMakefileGenerator::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 - cmRegularExpression reg("(^[ \t]*\\-l)|(\\${)"); + cmRegularExpression reg("(^[ \t]*\\-l)|(^[ \t]*\\-framework)|(\\${)"); if(lib->first.find('/') != std::string::npos && !reg.find(lib->first)) { |