fixup! CMake: separate options for FFmpeg decoder/dumper

This commit is contained in:
zhupengfei 2019-08-20 14:58:43 +08:00
parent f8b3950829
commit ce3459192e
No known key found for this signature in database
GPG key ID: DD129E108BD09378

View file

@ -472,6 +472,6 @@ if (ARCHITECTURE_x86_64)
target_link_libraries(core PRIVATE dynarmic)
endif()
if (ENABLE_FFMPEG)
if (ENABLE_FFMPEG_VIDEO_DUMPER)
target_link_libraries(core PRIVATE FFmpeg::avcodec FFmpeg::avformat FFmpeg::swscale FFmpeg::swresample FFmpeg::avutil)
endif()