mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
cmake: add missing FFmpeg dependency on windows
This commit is contained in:
parent
d2df9afda2
commit
54d89b955a
@ -502,6 +502,12 @@ if(ENCODE_FRAMEDUMPS)
|
|||||||
endif()
|
endif()
|
||||||
message(STATUS "libav/ffmpeg found, enabling AVI frame dumps")
|
message(STATUS "libav/ffmpeg found, enabling AVI frame dumps")
|
||||||
add_definitions(-DHAVE_FFMPEG)
|
add_definitions(-DHAVE_FFMPEG)
|
||||||
|
if(WIN32)
|
||||||
|
# Our prebuilt binaries depend on Bcrypt
|
||||||
|
set_property(TARGET FFmpeg::avutil APPEND PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES "Bcrypt.lib"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
message(STATUS "libav/ffmpeg not found, disabling AVI frame dumps")
|
message(STATUS "libav/ffmpeg not found, disabling AVI frame dumps")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user