summaryrefslogtreecommitdiff
path: root/CMakeModules/CopyYuzuFFmpegDeps.cmake
diff options
context:
space:
mode:
authorLevi <L3ehunin@gmail.com>2021-01-10 22:09:56 -0700
committerLevi <L3ehunin@gmail.com>2021-01-10 22:09:56 -0700
commit7a3c884e39fccfbb498b855080bffabc9ce2e7f1 (patch)
tree5056f9406dec188439cb0deb87603498243a9412 /CMakeModules/CopyYuzuFFmpegDeps.cmake
parentbc69cc151192326f9b8e18bbda831f1589ba27e0 (diff)
parent46cd71d1c773c29cce8b48e7e2b478bdf6d77085 (diff)
Merge remote-tracking branch 'upstream/master' into int-flags
Diffstat (limited to 'CMakeModules/CopyYuzuFFmpegDeps.cmake')
-rw-r--r--CMakeModules/CopyYuzuFFmpegDeps.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeModules/CopyYuzuFFmpegDeps.cmake b/CMakeModules/CopyYuzuFFmpegDeps.cmake
new file mode 100644
index 000000000..cca1eeeab
--- /dev/null
+++ b/CMakeModules/CopyYuzuFFmpegDeps.cmake
@@ -0,0 +1,10 @@
+function(copy_yuzu_FFmpeg_deps target_dir)
+ include(WindowsCopyFiles)
+ set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$<CONFIG>/")
+ windows_copy_files(${target_dir} ${FFMPEG_DLL_DIR} ${DLL_DEST}
+ avcodec-58.dll
+ avutil-56.dll
+ swresample-3.dll
+ swscale-5.dll
+ )
+endfunction(copy_yuzu_FFmpeg_deps)