aboutsummaryrefslogtreecommitdiff
path: root/CMakeModules
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-11-27 17:56:22 -0500
committerGitHub <noreply@github.com>2022-11-27 17:56:22 -0500
commit6b64557ad62141d1ac5d42e88ba7a3ed0cc9884d (patch)
tree614d45e1b6bdeffc988163fbe727c6a524c200c0 /CMakeModules
parenta2fde04da9630a5bf4948a0d2798d969956eb389 (diff)
parenta75542ad2dd028f9aa3adfb00e92817ada12ccd8 (diff)
Merge pull request #8829 from Docteh/qt6_0002
CMake: rework for Qt6 support
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 a353ddbb7..ab56de444 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>.*