mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Change how FFmpeg is imported for Apple computers.
Imports Apple libraries and also pulls swresample in, so when compiling Dolphin doesn't throw undefined symbols.
This commit is contained in:
parent
890a5ed99a
commit
90437d1574
2 changed files with 16 additions and 1 deletions
|
@ -167,6 +167,15 @@ if(FFmpeg_FOUND)
|
|||
FFmpeg::avcodec
|
||||
FFmpeg::avformat
|
||||
FFmpeg::avutil
|
||||
FFmpeg::swresample
|
||||
FFmpeg::swscale
|
||||
)
|
||||
if(APPLE)
|
||||
target_link_libraries(videocommon PRIVATE
|
||||
${COREMEDIA_LIBRARY}
|
||||
${VIDEOTOOLBOX_LIBRARY}
|
||||
${COREVIDEO_LIBRARY}
|
||||
${AUDIOTOOLBOX_LIBRARY}
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue