From 8ecb7524bc6e25896c4e0f2b1f78be12862b2374 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Mon, 17 Mar 2014 11:46:19 -0500 Subject: [PATCH] Fix arch detection on x86. --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e350e62252..5e6609e72a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)