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