mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 14:24:35 +00:00
Updated options for Universal build.
This commit is contained in:
parent
6a4c175816
commit
d1dac4b965
@ -259,9 +259,7 @@ if (_GLFW_COCOA AND _GLFW_NSGL)
|
|||||||
# Universal build
|
# Universal build
|
||||||
if (GLFW_BUILD_UNIVERSAL)
|
if (GLFW_BUILD_UNIVERSAL)
|
||||||
message(STATUS "Building GLFW as Universal Binaries")
|
message(STATUS "Building GLFW as Universal Binaries")
|
||||||
set(CMAKE_OSX_ARCHITECTURES ppc;i386;ppc64;x86_64)
|
set(CMAKE_OSX_ARCHITECTURES i386;x86_64)
|
||||||
set(CMAKE_OSX_SYSROOT /Developer/SDKs/MacOSX10.5.sdk)
|
|
||||||
set(CMAKE_C_FLAGS "-mmacosx-version-min=10.5")
|
|
||||||
else()
|
else()
|
||||||
message(STATUS "Building GLFW only for the native architecture")
|
message(STATUS "Building GLFW only for the native architecture")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user