cmake: Add CopyYuzuUnicornDeps script.

This commit is contained in:
bunnei 2018-01-04 13:24:08 -05:00
parent 738845cc0e
commit 45bdc53b8f
1 changed files with 9 additions and 0 deletions

View File

@ -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)