summaryrefslogtreecommitdiffstats
path: root/Source/cmOrderLinkDirectories.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-03-16 16:27:56 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-03-16 16:27:56 (GMT)
commita1f22bde81d1805b7e9af172f4d6ed093b217e04 (patch)
tree6fbc2971a67fd01fad3f53612fe43c74c2312a53 /Source/cmOrderLinkDirectories.cxx
parent974e9d4667100d6047fffe66f9fe28782c05455c (diff)
downloadCMake-a1f22bde81d1805b7e9af172f4d6ed093b217e04.zip
CMake-a1f22bde81d1805b7e9af172f4d6ed093b217e04.tar.gz
CMake-a1f22bde81d1805b7e9af172f4d6ed093b217e04.tar.bz2
ENH: don't put the default framework path in a -F option
Diffstat (limited to 'Source/cmOrderLinkDirectories.cxx')
-rw-r--r--Source/cmOrderLinkDirectories.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmOrderLinkDirectories.cxx b/Source/cmOrderLinkDirectories.cxx
index a0feeae..f6a440d 100644
--- a/Source/cmOrderLinkDirectories.cxx
+++ b/Source/cmOrderLinkDirectories.cxx
@@ -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()))