From d1dac4b9656886d2ad1ea21357058ec145581d44 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sat, 12 Jan 2013 19:48:26 +0100 Subject: [PATCH] Updated options for Universal build. --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 09dd0fd5..e58e1fd4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -259,9 +259,7 @@ if (_GLFW_COCOA AND _GLFW_NSGL) # Universal build if (GLFW_BUILD_UNIVERSAL) message(STATUS "Building GLFW as Universal Binaries") - set(CMAKE_OSX_ARCHITECTURES ppc;i386;ppc64;x86_64) - set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.5.sdk) - set(CMAKE_C_FLAGS "-mmacosx-version-min=10.5") + set(CMAKE_OSX_ARCHITECTURES i386;x86_64) else() message(STATUS "Building GLFW only for the native architecture") endif()