[Cmake-commits] [cmake-commits] hoffman committed cmGlobalXCodeGenerator.cxx 1.225 1.226

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Sep 18 10:28:31 EDT 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv11261

Modified Files:
	cmGlobalXCodeGenerator.cxx 
Log Message:
Fix the build for version 2.5 of Xcode.


Index: cmGlobalXCodeGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalXCodeGenerator.cxx,v
retrieving revision 1.225
retrieving revision 1.226
diff -C 2 -d -r1.225 -r1.226
*** cmGlobalXCodeGenerator.cxx	17 Sep 2009 15:53:02 -0000	1.225
--- cmGlobalXCodeGenerator.cxx	18 Sep 2009 14:28:28 -0000	1.226
***************
*** 2682,2685 ****
--- 2682,2694 ----
        osxArch = "$(ARCHS_STANDARD_32_64_BIT)";
        }
+     else if(this->XcodeVersion <= 25)
+       {
+ #ifdef __i386
+       osxArch = "i386";
+ #endif
+ #ifdef __ppc__
+       osxArch = "ppc";
+ #endif
+       }
      else
        {



More information about the Cmake-commits mailing list