mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 07:39:26 +01:00
Fix arch detection on x86.
This commit is contained in:
parent
6445e02d53
commit
a6ee74b58d
@ -131,7 +131,11 @@ else()
|
||||
add_definitions(-D_ARCH_32=1)
|
||||
endif()
|
||||
|
||||
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^x86" OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^x86" OR
|
||||
${CMAKE_SYSTEM_PROCESSOR} MATCHES "i686" OR
|
||||
${CMAKE_SYSTEM_PROCESSOR} MATCHES "i486" OR
|
||||
${CMAKE_SYSTEM_PROCESSOR} MATCHES "i386" 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