mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-24 13:41:05 +00:00
fixup! common: Ported over Dolphin's code for x86 CPU capability detection.
This commit is contained in:
parent
5464a9edce
commit
a7e175be03
@ -64,7 +64,7 @@ endif()
|
||||
|
||||
# Architecture detection and arch specific settings
|
||||
message(${CMAKE_SYSTEM_PROCESSOR})
|
||||
|
||||
|
||||
# Platform-agnostic definition to check if we are on x86/x64
|
||||
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^x86" OR
|
||||
${CMAKE_SYSTEM_PROCESSOR} MATCHES "i.86" OR
|
||||
@ -72,7 +72,7 @@ if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^x86" OR
|
||||
APPLE)
|
||||
set(_M_X86 1)
|
||||
add_definitions(-D_M_X86=1)
|
||||
|
||||
|
||||
if(_ARCH_64)
|
||||
set(_M_X86_64 1)
|
||||
add_definitions(-D_M_X86_64=1)
|
||||
|
Loading…
Reference in New Issue
Block a user