Fix arch detection on x86.
This commit is contained in:
parent
d4c53eed01
commit
8ecb7524bc
|
@ -132,9 +132,7 @@ else()
|
|||
endif()
|
||||
|
||||
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_PROCESSOR} MATCHES "i.86" OR
|
||||
${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
add_definitions(-msse2)
|
||||
set(_M_X86 1)
|
||||
|
|
Loading…
Reference in New Issue