summaryrefslogtreecommitdiff
path: root/indra/cmake
diff options
context:
space:
mode:
authordolphin <dolphin@lindenlab.com>2013-09-09 12:46:20 -0700
committerdolphin <dolphin@lindenlab.com>2013-09-09 12:46:20 -0700
commit07cb32449f601e2d47e83d781af3bb9df2474d5c (patch)
treea913755d041e5ac780c840301ec4676894497e82 /indra/cmake
parent51c01f5294b68b66706685346ecea16246b85cce (diff)
parent55ae6a7962cdc9a9d7d087fbc529d30db9c37013 (diff)
Merge with 3.6.5
Diffstat (limited to 'indra/cmake')
-rwxr-xr-xindra/cmake/Variables.cmake11
1 files changed, 8 insertions, 3 deletions
diff --git a/indra/cmake/Variables.cmake b/indra/cmake/Variables.cmake
index 7c310ba9c3..22d0a7f0fe 100755
--- a/indra/cmake/Variables.cmake
+++ b/indra/cmake/Variables.cmake
@@ -134,15 +134,20 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
OUTPUT_VARIABLE XCODE_VERSION )
# To support a different SDK update these Xcode settings:
+ if (XCODE_VERSION GREATER 4.5)
+ set(CMAKE_OSX_DEPLOYMENT_TARGET 10.8)
+ set(CMAKE_OSX_SYSROOT macosx10.8)
+ else (XCODE_VERSION GREATER 4.5)
if (XCODE_VERSION GREATER 4.2)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.6)
+ set(CMAKE_OSX_SYSROOT macosx10.7)
else (XCODE_VERSION GREATER 4.2)
- set(CMAKE_OSX_DEPLOYMENT_TARGET 10.5)
+ set(CMAKE_OSX_DEPLOYMENT_TARGET 10.6)
+ set(CMAKE_OSX_SYSROOT macosx10.7)
endif (XCODE_VERSION GREATER 4.2)
+ endif (XCODE_VERSION GREATER 4.5)
- set(CMAKE_OSX_SYSROOT macosx10.6)
set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "com.apple.compilers.llvmgcc42")
-
set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT dwarf-with-dsym)
# NOTE: To attempt an i386/PPC Universal build, add this on the configure line: