aboutsummaryrefslogtreecommitdiff
path: root/CMakeModules
diff options
context:
space:
mode:
authoryuzubot <yuzu@yuzu-emu.org>2022-11-20 13:02:36 +0000
committeryuzubot <yuzu@yuzu-emu.org>2022-11-20 13:02:36 +0000
commit59ea2982d3e47fb445f3b8bca22d9eb5ad729735 (patch)
tree9c679a961e84726863d8a8a6279d41accd711ff5 /CMakeModules
parentd64c3a94fd8d69fc71790f08f7bff6487fa2b1ac (diff)
"Merge Tagged PR 8829"mainline-0-1244
Diffstat (limited to 'CMakeModules')
-rw-r--r--CMakeModules/CopyYuzuQt5Deps.cmake7
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeModules/CopyYuzuQt5Deps.cmake b/CMakeModules/CopyYuzuQt5Deps.cmake
index a353ddbb77..ab56de4440 100644
--- a/CMakeModules/CopyYuzuQt5Deps.cmake
+++ b/CMakeModules/CopyYuzuQt5Deps.cmake
@@ -27,10 +27,13 @@ function(copy_yuzu_Qt5_deps target_dir)
Qt5Core$<$<CONFIG:Debug>:d>.*
Qt5Gui$<$<CONFIG:Debug>:d>.*
Qt5Widgets$<$<CONFIG:Debug>:d>.*
- Qt5Multimedia$<$<CONFIG:Debug>:d>.*
Qt5Network$<$<CONFIG:Debug>:d>.*
)
-
+ if (YUZU_USE_QT_MULTIMEDIA)
+ windows_copy_files(${target_dir} ${Qt5_DLL_DIR} ${DLL_DEST}
+ Qt5Multimedia$<$<CONFIG:Debug>:d>.*
+ )
+ endif()
if (YUZU_USE_QT_WEB_ENGINE)
windows_copy_files(${target_dir} ${Qt5_DLL_DIR} ${DLL_DEST}
Qt5Network$<$<CONFIG:Debug>:d>.*