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:
parent
fa56242669
commit
9ba5645964
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue