diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-04 13:24:08 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-04 13:24:08 -0500 |
commit | 45bdc53b8f92f05962e0ddabbe45d657886a1a7e (patch) | |
tree | c97f5ca6127cdcdae46339f13a8f615107decd8b | |
parent | 738845cc0e3e3dc4833e7eca25c263aa6834192b (diff) |
cmake: Add CopyYuzuUnicornDeps script.
-rw-r--r-- | CMakeModules/CopyYuzuUnicornDeps.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeModules/CopyYuzuUnicornDeps.cmake b/CMakeModules/CopyYuzuUnicornDeps.cmake new file mode 100644 index 0000000000..7af0ef023d --- /dev/null +++ b/CMakeModules/CopyYuzuUnicornDeps.cmake @@ -0,0 +1,9 @@ +function(copy_yuzu_unicorn_deps target_dir) + include(WindowsCopyFiles) + set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$<CONFIG>/") + windows_copy_files(${target_dir} ${UNICORN_DLL_DIR} ${DLL_DEST} + libgcc_s_seh-1.dll + libwinpthread-1.dll + unicorn.dll + ) +endfunction(copy_yuzu_unicorn_deps) |