vpx.cmake: fix build on android arm

parent 071330ac
......@@ -115,7 +115,9 @@ else()
endif()
set(EP_vpx_LINKING_TYPE "--enable-static" "--disable-shared" "--enable-pic")
elseif(ANDROID)
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "armeabi-v7a")
string(FIND "${CMAKE_SYSTEM_PROCESSOR}" "armeabi" ARM_POSITION)
# if we are building for arm or armv7
if(${ARM_POSITION} EQUAL 0)
set(EP_vpx_TARGET "armv7-android-gcc")
else()
set(EP_vpx_TARGET "x86-android-gcc")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment