summaryrefslogtreecommitdiffstats
path: root/CMakeModules/CopyYuzuSDLDeps.cmake
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2018-01-13 23:14:04 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2018-01-13 23:38:52 +0100
commite86bdb16019be278974fcab75255ae37cc600747 (patch)
treee1e8628e276bd3c5044278e495da67236b0d765d /CMakeModules/CopyYuzuSDLDeps.cmake
parentUpdate build scripts (diff)
downloadyuzu-e86bdb16019be278974fcab75255ae37cc600747.tar
yuzu-e86bdb16019be278974fcab75255ae37cc600747.tar.gz
yuzu-e86bdb16019be278974fcab75255ae37cc600747.tar.bz2
yuzu-e86bdb16019be278974fcab75255ae37cc600747.tar.lz
yuzu-e86bdb16019be278974fcab75255ae37cc600747.tar.xz
yuzu-e86bdb16019be278974fcab75255ae37cc600747.tar.zst
yuzu-e86bdb16019be278974fcab75255ae37cc600747.zip
Diffstat (limited to 'CMakeModules/CopyYuzuSDLDeps.cmake')
-rw-r--r--CMakeModules/CopyYuzuSDLDeps.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeModules/CopyYuzuSDLDeps.cmake b/CMakeModules/CopyYuzuSDLDeps.cmake
new file mode 100644
index 000000000..5963684f4
--- /dev/null
+++ b/CMakeModules/CopyYuzuSDLDeps.cmake
@@ -0,0 +1,5 @@
+function(copy_yuzu_SDL_deps target_dir)
+ include(WindowsCopyFiles)
+ set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$<CONFIG>/")
+ windows_copy_files(${target_dir} ${SDL2_DLL_DIR} ${DLL_DEST} SDL2.dll)
+endfunction(copy_yuzu_SDL_deps)