From 7fac9071ff34371e58dcebf90e357c3b75144bf0 Mon Sep 17 00:00:00 2001 From: James Rowe Date: Wed, 31 Aug 2016 19:50:05 -0600 Subject: [PATCH] Include the msvc runtime dlls with citra. --- src/citra_qt/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt index 4402ad995..914482775 100644 --- a/src/citra_qt/CMakeLists.txt +++ b/src/citra_qt/CMakeLists.txt @@ -121,7 +121,11 @@ if (Qt5_FOUND AND MSVC) Qt5Widgets$<$:d>.* ) windows_copy_files(citra-qt ${Qt5_PLATFORMS_DIR} ${PLATFORMS} qwindows$<$:d>.*) + # copy the msvc redistributable dlls to the folder + set(MSVC_REDIST_DIR "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/redist/x64/Microsoft.VC140.CRT") + windows_copy_files(citra-qt ${MSVC_REDIST_DIR} ${DLL_DEST} *.dll) + unset(MSVC_REDIST_DIR) unset(Qt5_DLL_DIR) unset(Qt5_PLATFORMS_DIR) unset(DLL_DEST)