From 1096d43d14b27d8d697e41e96df3992fe3d278d9 Mon Sep 17 00:00:00 2001 From: Berk Geveci Date: Wed, 24 Oct 2001 17:51:55 -0400 Subject: ENH: allow -framework as a complete entry in the link line for Mac OSX --- Source/cmUnixMakefileGenerator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- cgit v0.12