Skip to content

Commit

Permalink
Add Metal framework as dependency on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
bear101 committed Nov 1, 2024
1 parent 1b4797e commit 4734332
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Library/TeamTalkLib/build/ffmpeg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
find_library(BZ2_LIBRARY bz2)
find_library (AUDIOTOOLBOX_LIBRARY AudioToolBox)
find_library (VIDEOTOOLBOX_LIBRARY VideoToolBox)
find_library (METAL_LIBRARY Metal)

set (FFMPEG_LINK ${COCOA_LIBRARY} ${AVFOUNDATION_LIBRARY}
${COREMEDIA_LIBRARY}
Expand All @@ -160,7 +161,8 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
${QUARTZCORE_LIBRARY}
${BZ2_LIBRARY}
${AUDIOTOOLBOX_LIBRARY}
${VIDEOTOOLBOX_LIBRARY})
${VIDEOTOOLBOX_LIBRARY}
${METAL_LIBRARY})

add_library(ffmpeg-avdevice STATIC IMPORTED GLOBAL)
if (TOOLCHAIN_BUILD_EXTERNALPROJECTS)
Expand Down

0 comments on commit 4734332

Please sign in to comment.