Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11310 from OatmealDome/steamrt-qt-fix
CMakeLists: Copy entire plugins folder on Steam Runtime build
  • Loading branch information
delroth committed Jan 11, 2023
2 parents 9d81c84 + 5c80a9f commit 2ad9277
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/DolphinQt/CMakeLists.txt
Expand Up @@ -644,8 +644,9 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND STEAM)

add_custom_command(TARGET dolphin-emu POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/lib"
COMMAND cp "${QT_DIR}/../../LICENSE.*" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/lib"
COMMAND cp -P "${QT_DIR}/../../*.so*" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/lib"
COMMAND ${CMAKE_COMMAND} -E copy_directory "${QT_DIR}/../../../plugins/platforms" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/platforms"
COMMAND ${CMAKE_COMMAND} -E copy_directory "${QT_DIR}/../../../plugins" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/plugins"
)

# Copy qt.conf
Expand Down

0 comments on commit 2ad9277

Please sign in to comment.