mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
[ANDROID] Fix ARMv5 build.
This commit is contained in:
parent
2ad686a2a2
commit
1dfe303119
@ -122,7 +122,9 @@ message(${CMAKE_SYSTEM_PROCESSOR})
|
|||||||
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm")
|
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm")
|
||||||
set(_M_GENERIC 1)
|
set(_M_GENERIC 1)
|
||||||
set(_M_ARM 1)
|
set(_M_ARM 1)
|
||||||
add_definitions(-marm -march=armv7-a)
|
if(${ANDROID_NDK_ABI_NAME} STREQUAL "armeabi-v7a")
|
||||||
|
add_definitions(-marm -march=armv7-a)
|
||||||
|
endif()
|
||||||
# Set generic options so you don't have to pass anything to cmake to build ARM
|
# Set generic options so you don't have to pass anything to cmake to build ARM
|
||||||
set(USE_GLES 1)
|
set(USE_GLES 1)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user