From e24a551515f78deb1bea34902b141d5dfcfe926c Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Thu, 11 Jul 2013 09:10:44 -0500 Subject: [PATCH] [Android] MIPS support...lol --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c0d4f6f22..a6447f961e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -122,6 +122,13 @@ if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm") set(USE_GLES 1) endif() +if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "mips") + set(_M_GENERIC 1) + set(_M_MIPS 1) + add_definitions(-D_M_MIPS=1) + add_definitions(-D_M_GENERIC=1) +endif() + # Set these next two lines to test generic #set(_M_GENERIC 1) #add_definitions(-D_M_GENERIC=1)