summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-03-30 14:53:02 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-03-30 14:53:02 (GMT)
commit5ed2141d12c6be54902cb26a83d2b97fba8699cb (patch)
tree70ea60b1d750db15599f25188f2370ff11f0d558 /Source/cmGlobalXCodeGenerator.cxx
parent32ab3853eee088f3da06cd49f67ade2b9947b4a4 (diff)
downloadCMake-5ed2141d12c6be54902cb26a83d2b97fba8699cb.zip
CMake-5ed2141d12c6be54902cb26a83d2b97fba8699cb.tar.gz
CMake-5ed2141d12c6be54902cb26a83d2b97fba8699cb.tar.bz2
ENH: make sure default /System framework is not added with -F
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 6c2d258..a5c4520 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1287,6 +1287,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
std::vector<std::string>::iterator i = includes.begin();
std::string fdirs;
std::set<cmStdString> emitted;
+ emitted.insert("/System/Library/Frameworks");
for(;i != includes.end(); ++i)
{
if(cmSystemTools::IsPathToFramework(i->c_str()))