summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-10-07 12:15:14 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-10-07 12:15:14 (GMT)
commit45d22b48ab047aca5cb41cc7412bf07699b5e58a (patch)
tree86c947d3ddbf94318e8dfed0fd26f132ea915f5c /Source
parenta6facbcca36107cfc233a3d1295725fa1f474aef (diff)
downloadCMake-45d22b48ab047aca5cb41cc7412bf07699b5e58a.zip
CMake-45d22b48ab047aca5cb41cc7412bf07699b5e58a.tar.gz
CMake-45d22b48ab047aca5cb41cc7412bf07699b5e58a.tar.bz2
fix Xcode 30 generator
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index f217a35..d2c75b2 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -2646,18 +2646,18 @@ void cmGlobalXCodeGenerator
{
osxArch = "$(ARCHS_STANDARD_32_64_BIT)";
}
- else if(this->XcodeVersion <= 25)
+ else if(this->XcodeVersion == 31)
+ {
+ osxArch = "$(ARCHS_STANDARD_32_BIT)";
+ }
+ else if(this->XcodeVersion <= 30)
{
-#ifdef __i386
- osxArch = "i386";
-#endif
#ifdef __ppc__
osxArch = "ppc";
#endif
- }
- else
- {
- osxArch = "$(ARCHS_STANDARD_32_BIT)";
+#ifdef __i386
+ osxArch = "i386";
+#endif
}
buildSettings->AddAttribute("ONLY_ACTIVE_ARCH",
this->CreateString("YES"));