summaryrefslogtreecommitdiff
path: root/CMakeModules/CopyCitronSDLDeps.cmake
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2024-12-31 16:22:24 +1000
committerZephyron <zephyron@citron-emu.org>2024-12-31 16:22:24 +1000
commit6778aa8ec8e5fa0d246ac4b9ec00c10213c30ce5 (patch)
tree6caf7ee917426882ea5e7ec6b09c53acfbe9dd1d /CMakeModules/CopyCitronSDLDeps.cmake
parent9427e27e24a7135880ee2881c3c44988e174b41a (diff)
chore: update project branding to Citron
Diffstat (limited to 'CMakeModules/CopyCitronSDLDeps.cmake')
-rw-r--r--CMakeModules/CopyCitronSDLDeps.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeModules/CopyCitronSDLDeps.cmake b/CMakeModules/CopyCitronSDLDeps.cmake
new file mode 100644
index 000000000..464eed5e9
--- /dev/null
+++ b/CMakeModules/CopyCitronSDLDeps.cmake
@@ -0,0 +1,8 @@
+# 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)