From 45bdc53b8f92f05962e0ddabbe45d657886a1a7e Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 4 Jan 2018 13:24:08 -0500 Subject: [PATCH] cmake: Add CopyYuzuUnicornDeps script. --- CMakeModules/CopyYuzuUnicornDeps.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 CMakeModules/CopyYuzuUnicornDeps.cmake 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 @@ +function(copy_yuzu_unicorn_deps target_dir) + include(WindowsCopyFiles) + set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$/") + 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)