Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #132 from Sonicadvance1/Arch-clean
OS X likes to be different. It reports the host processor type as i386 i...
  • Loading branch information
Parlane committed Mar 4, 2014
2 parents 09212d4 + 4dc2d71 commit 0c613a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit 0c613a5

Please sign in to comment.