summaryrefslogtreecommitdiffstats
path: root/CMakeModules/CopyYuzuFFmpegDeps.cmake
diff options
context:
space:
mode:
authorDanila Malyutin <d.maljutin@yandex.ru>2023-05-13 21:58:17 +0200
committerDanila Malyutin <d.maljutin@yandex.ru>2023-05-13 21:58:17 +0200
commitc9c5d140b84685a03dc59b930cebb802b4c14892 (patch)
tree31e2d09ad8dee463e7df8e4ca05ae486f347bfd4 /CMakeModules/CopyYuzuFFmpegDeps.cmake
parentMerge pull request #10244 from liamwhite/lower-upper (diff)
downloadyuzu-c9c5d140b84685a03dc59b930cebb802b4c14892.tar
yuzu-c9c5d140b84685a03dc59b930cebb802b4c14892.tar.gz
yuzu-c9c5d140b84685a03dc59b930cebb802b4c14892.tar.bz2
yuzu-c9c5d140b84685a03dc59b930cebb802b4c14892.tar.lz
yuzu-c9c5d140b84685a03dc59b930cebb802b4c14892.tar.xz
yuzu-c9c5d140b84685a03dc59b930cebb802b4c14892.tar.zst
yuzu-c9c5d140b84685a03dc59b930cebb802b4c14892.zip
Diffstat (limited to 'CMakeModules/CopyYuzuFFmpegDeps.cmake')
-rw-r--r--CMakeModules/CopyYuzuFFmpegDeps.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeModules/CopyYuzuFFmpegDeps.cmake b/CMakeModules/CopyYuzuFFmpegDeps.cmake
index c6231737e..7aaa073ee 100644
--- a/CMakeModules/CopyYuzuFFmpegDeps.cmake
+++ b/CMakeModules/CopyYuzuFFmpegDeps.cmake
@@ -3,7 +3,7 @@
function(copy_yuzu_FFmpeg_deps target_dir)
include(WindowsCopyFiles)
- set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$<CONFIG>/")
+ set(DLL_DEST "$<TARGET_FILE_DIR:${target_dir}>/")
file(READ "${FFmpeg_PATH}/requirements.txt" FFmpeg_REQUIRED_DLLS)
string(STRIP "${FFmpeg_REQUIRED_DLLS}" FFmpeg_REQUIRED_DLLS)
windows_copy_files(${target_dir} ${FFmpeg_DLL_DIR} ${DLL_DEST} ${FFmpeg_REQUIRED_DLLS})