Explorar o código

cmake: Add CopyYuzuUnicornDeps script.

bunnei %!s(int64=8) %!d(string=hai) anos
pai
achega
45bdc53b8f
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      CMakeModules/CopyYuzuUnicornDeps.cmake

+ 9 - 0
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)