mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
ENH: allow -framework as a complete entry in the link line for Mac OSX
This commit is contained in:
parent
8aa1b69ada
commit
1096d43d14
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user