From 2378ecd0e8709efc47fbc73ef41e5ee0b952ee59 Mon Sep 17 00:00:00 2001
From: Zach Hilman <zachhilman@gmail.com>
Date: Sat, 5 Jan 2019 15:27:15 -0500
Subject: [PATCH] build: Copy web engine resources to correct location

---
 CMakeModules/CopyYuzuQt5Deps.cmake | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/CMakeModules/CopyYuzuQt5Deps.cmake b/CMakeModules/CopyYuzuQt5Deps.cmake
index db4cd88b6..4fef66659 100644
--- a/CMakeModules/CopyYuzuQt5Deps.cmake
+++ b/CMakeModules/CopyYuzuQt5Deps.cmake
@@ -9,7 +9,6 @@ function(copy_yuzu_Qt5_deps target_dir)
     set(PLATFORMS ${DLL_DEST}platforms/)
     set(STYLES ${DLL_DEST}styles/)
     set(IMAGEFORMATS ${DLL_DEST}imageformats/)
-    set(RESOURCES ${DLL_DEST}resources/)
     windows_copy_files(${target_dir} ${Qt5_DLL_DIR} ${DLL_DEST}
         icudt*.dll
         icuin*.dll
@@ -35,7 +34,7 @@ function(copy_yuzu_Qt5_deps target_dir)
             QtWebEngineProcess$<$<CONFIG:Debug>:d>.*
         )
 
-        windows_copy_files(${target_dir} ${Qt5_RESOURCES_DIR} ${RESOURCES}
+        windows_copy_files(${target_dir} ${Qt5_RESOURCES_DIR} ${DLL_DEST}
             qtwebengine_resources.pak
             qtwebengine_devtools_resources.pak
             qtwebengine_resources_100p.pak