ENH: don't put the default framework path in a -F option

This commit is contained in:
Bill Hoffman 2006-03-16 11:27:56 -05:00
parent 974e9d4667
commit a1f22bde81
1 changed files with 2 additions and 0 deletions

View File

@ -259,6 +259,8 @@ bool cmOrderLinkDirectories::DetermineLibraryPathOrder()
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)
{
if(cmSystemTools::FileIsFullPath(this->RawLinkItems[i].c_str()))