ENH: fix for bug 3067 the first framework ate the rest of the libraries

This commit is contained in:
Bill Hoffman 2006-03-31 17:59:28 -05:00
parent ae10b3578d
commit 5ebe1f573f
1 changed files with 1 additions and 1 deletions

View File

@ -258,11 +258,11 @@ bool cmOrderLinkDirectories::DetermineLibraryPathOrder()
cmStdString dir;
cmStdString file;
std::vector<cmStdString> empty;
bool framework = false;
// do not add a -F for the system frameworks
this->EmittedFrameworkPaths.insert("/System/Library/Frameworks");
for(unsigned int i=0; i < this->RawLinkItems.size(); ++i)
{
bool framework = false;
if(cmSystemTools::FileIsFullPath(this->RawLinkItems[i].c_str()))
{
if(cmSystemTools::FileIsDirectory(this->RawLinkItems[i].c_str()))