diff options
author | Zephyron <zephyron@citron-emu.org> | 2024-12-31 16:22:24 +1000 |
---|---|---|
committer | Zephyron <zephyron@citron-emu.org> | 2024-12-31 16:22:24 +1000 |
commit | 6778aa8ec8e5fa0d246ac4b9ec00c10213c30ce5 (patch) | |
tree | 6caf7ee917426882ea5e7ec6b09c53acfbe9dd1d /CMakeModules/CopyCitronFFmpegDeps.cmake | |
parent | 9427e27e24a7135880ee2881c3c44988e174b41a (diff) |
chore: update project branding to Citron
Diffstat (limited to 'CMakeModules/CopyCitronFFmpegDeps.cmake')
-rw-r--r-- | CMakeModules/CopyCitronFFmpegDeps.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeModules/CopyCitronFFmpegDeps.cmake b/CMakeModules/CopyCitronFFmpegDeps.cmake new file mode 100644 index 000000000..e50696cc0 --- /dev/null +++ b/CMakeModules/CopyCitronFFmpegDeps.cmake @@ -0,0 +1,10 @@ +# SPDX-FileCopyrightText: 2020 yuzu Emulator Project +# SPDX-License-Identifier: GPL-2.0-or-later + +function(copy_yuzu_FFmpeg_deps target_dir) + include(WindowsCopyFiles) + 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_LIBRARY_DIR} ${DLL_DEST} ${FFmpeg_REQUIRED_DLLS}) +endfunction(copy_yuzu_FFmpeg_deps) |