aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/depends/target/ffmpeg/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/depends/target/ffmpeg/CMakeLists.txt b/tools/depends/target/ffmpeg/CMakeLists.txt
index 046429f820..57cb563c96 100644
--- a/tools/depends/target/ffmpeg/CMakeLists.txt
+++ b/tools/depends/target/ffmpeg/CMakeLists.txt
@@ -18,7 +18,9 @@ endif()
if(CORE_SYSTEM_NAME STREQUAL linux OR CORE_SYSTEM_NAME STREQUAL freebsd)
list(APPEND ffmpeg_conf --enable-vdpau --enable-vaapi --enable-pic)
elseif(CORE_SYSTEM_NAME STREQUAL android)
- if(CPU MATCHES arm)
+ if(CPU MATCHES arm64)
+ list(APPEND ffmpeg_conf --cpu=cortex-a53 --arch=aarch64)
+ elseif(CPU MATCHES arm)
list(APPEND ffmpeg_conf --cpu=cortex-a9)
else()
list(APPEND ffmpeg_conf --cpu=i686 --disable-mmx)