From a7e175be03b741526fb4cdb238a106baf166b574 Mon Sep 17 00:00:00 2001 From: bunnei Date: Wed, 8 Jul 2015 23:10:20 -0400 Subject: [PATCH] fixup! common: Ported over Dolphin's code for x86 CPU capability detection. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5cbd4cfd0..9b998ea4d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,7 +64,7 @@ endif() # Architecture detection and arch specific settings message(${CMAKE_SYSTEM_PROCESSOR}) - + # Platform-agnostic definition to check if we are on x86/x64 if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^x86" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES "i.86" OR @@ -72,7 +72,7 @@ if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^x86" OR APPLE) set(_M_X86 1) add_definitions(-D_M_X86=1) - + if(_ARCH_64) set(_M_X86_64 1) add_definitions(-D_M_X86_64=1)