From 6581cb292943545b2836183f8b41a51c3751f2eb Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Sun, 8 Jul 2012 17:57:06 -0400 Subject: [PATCH] One more DARWIN fix. Credit to LightDrake and Apelsin --- indra/cmake/Variables.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/cmake/Variables.cmake b/indra/cmake/Variables.cmake index 964c9d684..0a91d909a 100644 --- a/indra/cmake/Variables.cmake +++ b/indra/cmake/Variables.cmake @@ -79,7 +79,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") #SDK Compiler and Deployment targets for XCode if (${XCODE_VERSION} VERSION_LESS 4.0.0) set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.5.sdk) - set(CMAKE_XCODE_ATTIBUTE_GCC_VERSION "4.2") + set(CMAKE_XCODE_ATTIBUTE_GCC_VERSION "com.apple.compilers.gcc.4_2") else (${XCODE_VERSION} VERSION_LESS 4.0.0) set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.6.sdk) set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "com.apple.compilers.llvmgcc42")