From a1f22bde81d1805b7e9af172f4d6ed093b217e04 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 16 Mar 2006 11:27:56 -0500 Subject: [PATCH] ENH: don't put the default framework path in a -F option --- Source/cmOrderLinkDirectories.cxx | 2 ++ 1 file changed, 2 insertions(+) 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()))