[Android] MIPS support...lol

This commit is contained in:
Ryan Houdek 2013-07-11 09:10:44 -05:00
parent 6e74d4b21d
commit e24a551515
1 changed files with 7 additions and 0 deletions

View File

@ -122,6 +122,13 @@ if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm")
set(USE_GLES 1) set(USE_GLES 1)
endif() 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 these next two lines to test generic
#set(_M_GENERIC 1) #set(_M_GENERIC 1)
#add_definitions(-D_M_GENERIC=1) #add_definitions(-D_M_GENERIC=1)