diff options
Diffstat (limited to 'CMakeModules/CopyYuzuQt5Deps.cmake')
| -rw-r--r-- | CMakeModules/CopyYuzuQt5Deps.cmake | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/CMakeModules/CopyYuzuQt5Deps.cmake b/CMakeModules/CopyYuzuQt5Deps.cmake index dd97f5b2b..6c5044caa 100644 --- a/CMakeModules/CopyYuzuQt5Deps.cmake +++ b/CMakeModules/CopyYuzuQt5Deps.cmake | |||
| @@ -10,21 +10,22 @@ function(copy_yuzu_Qt5_deps target_dir) | |||
| 10 | set(Qt5_PLATFORMS_DIR "${Qt5_DIR}/../../../plugins/platforms/") | 10 | set(Qt5_PLATFORMS_DIR "${Qt5_DIR}/../../../plugins/platforms/") |
| 11 | set(Qt5_PLATFORMTHEMES_DIR "${Qt5_DIR}/../../../plugins/platformthemes/") | 11 | set(Qt5_PLATFORMTHEMES_DIR "${Qt5_DIR}/../../../plugins/platformthemes/") |
| 12 | set(Qt5_PLATFORMINPUTCONTEXTS_DIR "${Qt5_DIR}/../../../plugins/platforminputcontexts/") | 12 | set(Qt5_PLATFORMINPUTCONTEXTS_DIR "${Qt5_DIR}/../../../plugins/platforminputcontexts/") |
| 13 | set(Qt5_MEDIASERVICE_DIR "${Qt5_DIR}/../../../plugins/mediaservice/") | ||
| 13 | set(Qt5_XCBGLINTEGRATIONS_DIR "${Qt5_DIR}/../../../plugins/xcbglintegrations/") | 14 | set(Qt5_XCBGLINTEGRATIONS_DIR "${Qt5_DIR}/../../../plugins/xcbglintegrations/") |
| 14 | set(Qt5_STYLES_DIR "${Qt5_DIR}/../../../plugins/styles/") | 15 | set(Qt5_STYLES_DIR "${Qt5_DIR}/../../../plugins/styles/") |
| 15 | set(Qt5_IMAGEFORMATS_DIR "${Qt5_DIR}/../../../plugins/imageformats/") | 16 | set(Qt5_IMAGEFORMATS_DIR "${Qt5_DIR}/../../../plugins/imageformats/") |
| 16 | set(Qt5_RESOURCES_DIR "${Qt5_DIR}/../../../resources/") | 17 | set(Qt5_RESOURCES_DIR "${Qt5_DIR}/../../../resources/") |
| 17 | set(PLATFORMS ${DLL_DEST}plugins/platforms/) | 18 | set(PLATFORMS ${DLL_DEST}plugins/platforms/) |
| 19 | set(MEDIASERVICE ${DLL_DEST}mediaservice/) | ||
| 18 | set(STYLES ${DLL_DEST}plugins/styles/) | 20 | set(STYLES ${DLL_DEST}plugins/styles/) |
| 19 | set(IMAGEFORMATS ${DLL_DEST}plugins/imageformats/) | 21 | set(IMAGEFORMATS ${DLL_DEST}plugins/imageformats/) |
| 20 | if (MSVC) | 22 | if (MSVC) |
| 21 | windows_copy_files(${target_dir} ${Qt5_DLL_DIR} ${DLL_DEST} | 23 | windows_copy_files(${target_dir} ${Qt5_DLL_DIR} ${DLL_DEST} |
| 22 | icudt*.dll | ||
| 23 | icuin*.dll | ||
| 24 | icuuc*.dll | ||
| 25 | Qt5Core$<$<CONFIG:Debug>:d>.* | 24 | Qt5Core$<$<CONFIG:Debug>:d>.* |
| 26 | Qt5Gui$<$<CONFIG:Debug>:d>.* | 25 | Qt5Gui$<$<CONFIG:Debug>:d>.* |
| 27 | Qt5Widgets$<$<CONFIG:Debug>:d>.* | 26 | Qt5Widgets$<$<CONFIG:Debug>:d>.* |
| 27 | Qt5Multimedia$<$<CONFIG:Debug>:d>.* | ||
| 28 | Qt5Network$<$<CONFIG:Debug>:d>.* | ||
| 28 | ) | 29 | ) |
| 29 | 30 | ||
| 30 | if (YUZU_USE_QT_WEB_ENGINE) | 31 | if (YUZU_USE_QT_WEB_ENGINE) |
| @@ -37,18 +38,17 @@ function(copy_yuzu_Qt5_deps target_dir) | |||
| 37 | Qt5Quick$<$<CONFIG:Debug>:d>.* | 38 | Qt5Quick$<$<CONFIG:Debug>:d>.* |
| 38 | Qt5QuickWidgets$<$<CONFIG:Debug>:d>.* | 39 | Qt5QuickWidgets$<$<CONFIG:Debug>:d>.* |
| 39 | Qt5WebChannel$<$<CONFIG:Debug>:d>.* | 40 | Qt5WebChannel$<$<CONFIG:Debug>:d>.* |
| 40 | Qt5WebEngine$<$<CONFIG:Debug>:d>.* | ||
| 41 | Qt5WebEngineCore$<$<CONFIG:Debug>:d>.* | 41 | Qt5WebEngineCore$<$<CONFIG:Debug>:d>.* |
| 42 | Qt5WebEngineWidgets$<$<CONFIG:Debug>:d>.* | 42 | Qt5WebEngineWidgets$<$<CONFIG:Debug>:d>.* |
| 43 | QtWebEngineProcess$<$<CONFIG:Debug>:d>.* | 43 | QtWebEngineProcess$<$<CONFIG:Debug>:d>.* |
| 44 | ) | 44 | ) |
| 45 | 45 | ||
| 46 | windows_copy_files(${target_dir} ${Qt5_RESOURCES_DIR} ${DLL_DEST} | 46 | windows_copy_files(${target_dir} ${Qt5_RESOURCES_DIR} ${DLL_DEST} |
| 47 | qtwebengine_resources.pak | 47 | icudtl.dat |
| 48 | qtwebengine_devtools_resources.pak | 48 | qtwebengine_devtools_resources.pak |
| 49 | qtwebengine_resources.pak | ||
| 49 | qtwebengine_resources_100p.pak | 50 | qtwebengine_resources_100p.pak |
| 50 | qtwebengine_resources_200p.pak | 51 | qtwebengine_resources_200p.pak |
| 51 | icudtl.dat | ||
| 52 | ) | 52 | ) |
| 53 | endif () | 53 | endif () |
| 54 | windows_copy_files(yuzu ${Qt5_PLATFORMS_DIR} ${PLATFORMS} qwindows$<$<CONFIG:Debug>:d>.*) | 54 | windows_copy_files(yuzu ${Qt5_PLATFORMS_DIR} ${PLATFORMS} qwindows$<$<CONFIG:Debug>:d>.*) |
| @@ -56,7 +56,11 @@ function(copy_yuzu_Qt5_deps target_dir) | |||
| 56 | windows_copy_files(yuzu ${Qt5_IMAGEFORMATS_DIR} ${IMAGEFORMATS} | 56 | windows_copy_files(yuzu ${Qt5_IMAGEFORMATS_DIR} ${IMAGEFORMATS} |
| 57 | qjpeg$<$<CONFIG:Debug>:d>.* | 57 | qjpeg$<$<CONFIG:Debug>:d>.* |
| 58 | qgif$<$<CONFIG:Debug>:d>.* | 58 | qgif$<$<CONFIG:Debug>:d>.* |
| 59 | ) | 59 | ) |
| 60 | windows_copy_files(yuzu ${Qt5_MEDIASERVICE_DIR} ${MEDIASERVICE} | ||
| 61 | dsengine$<$<CONFIG:Debug>:d>.* | ||
| 62 | wmfengine$<$<CONFIG:Debug>:d>.* | ||
| 63 | ) | ||
| 60 | else() | 64 | else() |
| 61 | set(Qt5_DLLS | 65 | set(Qt5_DLLS |
| 62 | "${Qt5_DLL_DIR}libQt5Core.so.5" | 66 | "${Qt5_DLL_DIR}libQt5Core.so.5" |