diff --git a/rpcs3/CMakeLists.txt b/rpcs3/CMakeLists.txt index 0c5baa6a3b..0c2bb89498 100644 --- a/rpcs3/CMakeLists.txt +++ b/rpcs3/CMakeLists.txt @@ -118,6 +118,10 @@ elseif(UNIX) add_custom_command(TARGET rpcs3 POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/bin/Icons $/Icons) +elseif(WIN32) + add_custom_command(TARGET rpcs3 POST_BUILD + COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_SOURCE_DIR}/bin" "$" + COMMAND "${Qt5_DIR}/../../../bin/windeployqt" --no-angle --no-compiler-runtime --no-opengl-sw --no-patchqt --no-svg --no-translations --no-quick --plugindir "$/qt/plugins" "$") endif() # Unix installation