fixup! common: Ported over Dolphin's code for x86 CPU capability detection.

This commit is contained in:
bunnei 2015-07-08 22:42:47 -04:00
parent 6435045c4f
commit 4069dd4bbb

View File

@ -71,7 +71,7 @@ if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^x86" OR
${CMAKE_SYSTEM_PROCESSOR} MATCHES "[aA][mM][dD]64" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "[aA][mM][dD]64" OR
APPLE) APPLE)
set(_M_X86 1) set(_M_X86 1)
add_definitions(-D_M_X86=1 -msse2) add_definitions(-D_M_X86=1)
if(_ARCH_64) if(_ARCH_64)
set(_M_X86_64 1) set(_M_X86_64 1)