Skip to content

Commit b7c08fe

Browse files
committed
test
1 parent d1ece2b commit b7c08fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

depends/common/ffmpeg/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ else()
1010
set(ffmpeg_conf --cc=${CMAKE_C_COMPILER} --cxx=${CMAKE_CXX_COMPILER})
1111
endif()
1212

13+
if(CORE_SYSTEM_NAME STREQUAL android)
14+
set(CROSSCOMPILING 1)
15+
endif()
16+
1317
if(CROSSCOMPILING)
1418
set(pkgconf "PKG_CONFIG_LIBDIR=${ADDON_DEPENDS_PATH}/lib/pkgconfig")
1519
list(APPEND ffmpeg_conf --pkg-config=${PKG_CONFIG_EXECUTABLE} --pkg-config-flags=--static)

0 commit comments

Comments
 (0)