Merge pull request #132 from Sonicadvance1/Arch-clean

OS X likes to be different. It reports the host processor type as i386 i...
This commit is contained in:
Matthew Parlane 2014-03-05 10:01:12 +13:00
commit 0c613a5f5b
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ else()
add_definitions(-D_ARCH_32=1) add_definitions(-D_ARCH_32=1)
endif() endif()
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^x86") if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^x86" OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
add_definitions(-msse2) add_definitions(-msse2)
set(_M_X86 1) set(_M_X86 1)
add_definitions(-D_M_X86=1) add_definitions(-D_M_X86=1)