Merge pull request #10145 from NoNoTeal/master

Import Apple/FFmpeg libraries for AVI dumps on macOS
This commit is contained in:
Léo Lam 2021-10-07 08:18:53 +02:00 committed by GitHub
commit d90b30ca25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View file

@ -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()