Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Android] MIPS support...lol
  • Loading branch information
Sonicadvance1 committed Jul 11, 2013
1 parent 6e74d4b commit e24a551
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit e24a551

Please sign in to comment.