CopyYuzuFFmpegDeps.cmake 491 B

1234567891011
  1. # SPDX-FileCopyrightText: 2020 yuzu Emulator Project
  2. # SPDX-License-Identifier: GPL-2.0-or-later
  3. function(copy_yuzu_FFmpeg_deps target_dir)
  4. include(WindowsCopyFiles)
  5. set(DLL_DEST "$<TARGET_FILE_DIR:${target_dir}>/")
  6. file(READ "${FFmpeg_PATH}/requirements.txt" FFmpeg_REQUIRED_DLLS)
  7. string(STRIP "${FFmpeg_REQUIRED_DLLS}" FFmpeg_REQUIRED_DLLS)
  8. windows_copy_files(${target_dir} ${FFmpeg_LIBRARY_DIR} ${DLL_DEST} ${FFmpeg_REQUIRED_DLLS})
  9. endfunction(copy_yuzu_FFmpeg_deps)