summaryrefslogtreecommitdiff
path: root/CMakeModules
diff options
context:
space:
mode:
authorGravatar bunnei2018-01-04 13:24:08 -0500
committerGravatar bunnei2018-01-04 13:24:08 -0500
commit45bdc53b8f92f05962e0ddabbe45d657886a1a7e (patch)
treec97f5ca6127cdcdae46339f13a8f615107decd8b /CMakeModules
parentexternals: Use unicorn DLL instead of static lib. (diff)
downloadyuzu-45bdc53b8f92f05962e0ddabbe45d657886a1a7e.tar.gz
yuzu-45bdc53b8f92f05962e0ddabbe45d657886a1a7e.tar.xz
yuzu-45bdc53b8f92f05962e0ddabbe45d657886a1a7e.zip
cmake: Add CopyYuzuUnicornDeps script.
Diffstat (limited to 'CMakeModules')
-rw-r--r--CMakeModules/CopyYuzuUnicornDeps.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeModules/CopyYuzuUnicornDeps.cmake b/CMakeModules/CopyYuzuUnicornDeps.cmake
new file mode 100644
index 000000000..7af0ef023
--- /dev/null
+++ b/CMakeModules/CopyYuzuUnicornDeps.cmake
@@ -0,0 +1,9 @@
1function(copy_yuzu_unicorn_deps target_dir)
2 include(WindowsCopyFiles)
3 set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$<CONFIG>/")
4 windows_copy_files(${target_dir} ${UNICORN_DLL_DIR} ${DLL_DEST}
5 libgcc_s_seh-1.dll
6 libwinpthread-1.dll
7 unicorn.dll
8 )
9endfunction(copy_yuzu_unicorn_deps)