Fix Win32 build regression in fa562426.

Move list of media libs ffmpeg depends on to the right cmake file.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2022-02-02 00:44:41 +00:00
parent fa56242669
commit 9ba5645964
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
2 changed files with 1 additions and 2 deletions

View File

@ -421,6 +421,7 @@ if(ENABLE_FFMPEG)
if(APPLE)
set(FFMPEG_LDFLAGS ${FFMPEG_LDFLAGS} -framework CoreText -framework ApplicationServices)
elseif(WIN32)
set(WIN32_MEDIA_FOUNDATION_LIBS dxva2 evr mf mfplat mfplay mfreadwrite mfuuid amstrmid)
list(APPEND FFMPEG_LIBRARIES secur32 bcrypt ${WIN32_MEDIA_FOUNDATION_LIBS})
if(MSYS AND VBAM_STATIC)

View File

@ -966,8 +966,6 @@ if(NOT TRANSLATIONS_ONLY)
${VBAM_LIBS}
)
set(WIN32_MEDIA_FOUNDATION_LIBS dxva2 evr mf mfplat mfplay mfreadwrite mfuuid amstrmid)
if(ENABLE_FFMPEG)
target_link_libraries(
visualboyadvance-m