EXP-869 FIX -- Mac viewer should build without requiring settings modifications

Modified cmake GCC_VERSION from 4.2 to 4.0, our officially supported GCC version

Reviewed by Richard
meow-7.2.2
Leslie Linden 2011-06-01 11:46:53 -07:00
parent ecd0cc3a5a
commit b530648dd4
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# To support a different SDK update these Xcode settings:
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.5)
set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.5.sdk)
set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "4.2")
set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "4.0")
set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT dwarf-with-dsym)
# NOTE: To attempt an i386/PPC Universal build, add this on the configure line: