Skip to content

Commit

Permalink
Disable VideoToolBox dependency for FFmpeg on iOS
Browse files Browse the repository at this point in the history
VideoToolBox requires a more recent iOS deployment target.
  • Loading branch information
bear101 committed Dec 28, 2024
1 parent 88299cf commit e58816a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Library/TeamTalkLib/build/ffmpeg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,15 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "iOS")
set (GAS_DIR ${SOURCE_DIR})

set (FFMPEG_CFG_FLAGS --target-os=darwin --sysroot=${CMAKE_OSX_SYSROOT}
--enable-pic
--enable-cross-compile
# External libraries:
--disable-videotoolbox
--disable-audiotoolbox
# Programs/docs
--disable-doc
--disable-programs
--disable-audiotoolbox)
# Compile options
--enable-pic
--enable-cross-compile)

if ("armv7" STREQUAL "${CMAKE_OSX_ARCHITECTURES}")
list (APPEND FFMPEG_CFG_FLAGS --arch=arm --cpu=cortex-a8)
Expand Down

0 comments on commit e58816a

Please sign in to comment.