Browse Source
[cmake] ffmpeg: use static on MSVC (#2946)
[cmake] ffmpeg: use static on MSVC (#2946)
Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2946pull/2948/head
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
12 changed files with 75 additions and 75 deletions
-
13CMakeModules/CPMUtil.cmake
-
10CMakeModules/CopyYuzuFFmpegDeps.cmake
-
8CMakeModules/CopyYuzuSDLDeps.cmake
-
4cpmfile.json
-
2docs/CPMUtil/AddCIPackage.md
-
6externals/cpmfile.json
-
3externals/ffmpeg/CMakeLists.txt
-
1externals/ffmpeg/cpmfile.json
-
7src/yuzu/CMakeLists.txt
-
5src/yuzu_cmd/CMakeLists.txt
-
89tools/cpm/check-updates.sh
-
2tools/cpm/download.sh
@ -1,10 +0,0 @@ |
|||||
# 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) |
|
||||
@ -1,8 +0,0 @@ |
|||||
# SPDX-FileCopyrightText: 2016 Citra Emulator Project |
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later |
|
||||
|
|
||||
function(copy_yuzu_SDL_deps target_dir) |
|
||||
include(WindowsCopyFiles) |
|
||||
set(DLL_DEST "$<TARGET_FILE_DIR:${target_dir}>/") |
|
||||
windows_copy_files(${target_dir} ${SDL2_DLL_DIR} ${DLL_DEST} SDL2.dll) |
|
||||
endfunction(copy_yuzu_SDL_deps) |
|
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue