Commit 6764f88e authored by Ghislain MARY's avatar Ghislain MARY

Fix build of openh264 for Android.

parent d7059105
......@@ -51,7 +51,7 @@ else()
if(MSVC)
lcb_additional_options("OS=\"msvc\"")
elseif(ANDROID)
set(ADDITIONAL_OPTIONS "OS=\"android\" NDKROOT=\"${CMAKE_ANDROID_NDK}\" NDKLEVEL=${CMAKE_ANDROID_API} TARGET=\"android-${CMAKE_ANDROID_API}\"")
set(ADDITIONAL_OPTIONS "OS=\"android\" NDKROOT=\"${CMAKE_ANDROID_NDK}\" NDKLEVEL=${ANDROID_PLATFORM_LEVEL} TARGET=\"android-${CMAKE_ANDROID_API}\"")
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "armv7-a")
set(ADDITIONAL_OPTIONS "${ADDITIONAL_OPTIONS} ARCH=\"arm\" INCLUDE_PREFIX=\"arm-linux-androideabi\"")
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
......
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