Fix ARM building.

This commit is contained in:
Ryan Houdek
2013-03-31 04:32:13 +00:00
parent c5a0104147
commit 1dd1ebb8bd
2 changed files with 4 additions and 3 deletions

View File

@ -114,6 +114,8 @@ if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm")
add_definitions(-marm -march=armv7-a)
add_definitions(-D_M_ARM=1)
add_definitions(-D_M_GENERIC=1)
# Set generic options so you don't have to pass anything to cmake to build ARM
set(USE_GLES 1)
endif()
# Set these next two lines to test generic