mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
OS X likes to be different. It reports the host processor type as i386 instead of x86 or x86_64 like a typical sane system.
This commit is contained in:
parent
4f02132f93
commit
4dc2d71e34
@ -131,7 +131,7 @@ else()
|
||||
add_definitions(-D_ARCH_32=1)
|
||||
endif()
|
||||
|
||||
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^x86")
|
||||
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^x86" OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
add_definitions(-msse2)
|
||||
set(_M_X86 1)
|
||||
add_definitions(-D_M_X86=1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user