diff --git a/Source/cmOrderLinkDirectories.cxx b/Source/cmOrderLinkDirectories.cxx index a0feeae6c..f6a440d4e 100644 --- a/Source/cmOrderLinkDirectories.cxx +++ b/Source/cmOrderLinkDirectories.cxx @@ -259,6 +259,8 @@ bool cmOrderLinkDirectories::DetermineLibraryPathOrder() cmStdString file; std::vector 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()))