Skip to content

Commit

Permalink
Disable AudioToolbox in iOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
bear101 committed Nov 2, 2024
1 parent 1b23272 commit 6680623
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Library/TeamTalkLib/build/ffmpeg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,12 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "iOS")
ExternalProject_Get_Property(gas-preprocessor SOURCE_DIR)
set (GAS_DIR ${SOURCE_DIR})

set (FFMPEG_CFG_FLAGS --target-os=darwin --sysroot=${CMAKE_OSX_SYSROOT} --enable-pic --disable-doc --disable-programs --enable-cross-compile)
set (FFMPEG_CFG_FLAGS --target-os=darwin --sysroot=${CMAKE_OSX_SYSROOT}
--enable-pic
--enable-cross-compile
--disable-doc
--disable-programs
--disable-audiotoolbox)

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

0 comments on commit 6680623

Please sign in to comment.