diff options
| author | MerryMage <MerryMage@users.noreply.github.com> | 2018-01-13 22:14:04 +0000 |
|---|---|---|
| committer | MerryMage <MerryMage@users.noreply.github.com> | 2018-01-13 22:38:52 +0000 |
| commit | d616b36e7b46c76fad4f29ddff09d68d0bd5958f (patch) | |
| tree | e1e8628e276bd3c5044278e495da67236b0d765d /CMakeModules/CopyYuzuSDLDeps.cmake | |
| parent | 16e512f2a789807c0d2aa33699254b4883eea97d (diff) | |
Fix build on macOS and linux
Diffstat (limited to 'CMakeModules/CopyYuzuSDLDeps.cmake')
| -rw-r--r-- | CMakeModules/CopyYuzuSDLDeps.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeModules/CopyYuzuSDLDeps.cmake b/CMakeModules/CopyYuzuSDLDeps.cmake new file mode 100644 index 0000000000..5963684f45 --- /dev/null +++ b/CMakeModules/CopyYuzuSDLDeps.cmake @@ -0,0 +1,5 @@ +function(copy_yuzu_SDL_deps target_dir) + include(WindowsCopyFiles) + set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$<CONFIG>/") + windows_copy_files(${target_dir} ${SDL2_DLL_DIR} ${DLL_DEST} SDL2.dll) +endfunction(copy_yuzu_SDL_deps) |
