mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06: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:
@ -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()
|
||||
|
Reference in New Issue
Block a user