Fix build on macOS and linux

This commit is contained in:
MerryMage 2018-01-13 22:14:04 +00:00
parent f95789a0b3
commit e86bdb1601
6 changed files with 11 additions and 10 deletions

View file

@ -1,4 +1,4 @@
function(copy_citra_Qt5_deps target_dir)
function(copy_yuzu_Qt5_deps target_dir)
include(WindowsCopyFiles)
set(DLL_DEST "${CMAKE_BINARY_DIR}/bin/$<CONFIG>/")
set(Qt5_DLL_DIR "${Qt5_DIR}/../../../bin")
@ -14,4 +14,4 @@ function(copy_citra_Qt5_deps target_dir)
Qt5Widgets$<$<CONFIG:Debug>:d>.*
)
windows_copy_files(yuzu ${Qt5_PLATFORMS_DIR} ${PLATFORMS} qwindows$<$<CONFIG:Debug>:d>.*)
endfunction(copy_citra_Qt5_deps)
endfunction(copy_yuzu_Qt5_deps)

View file

@ -1,5 +1,5 @@
function(copy_citra_SDL_deps target_dir)
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_citra_SDL_deps)
endfunction(copy_yuzu_SDL_deps)