From fff13c385f3415ae7753f6dbb426ec3e1833708b Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Mon, 21 Nov 2022 15:43:26 -0500 Subject: [PATCH 1/2] CMakeLists: Copy entire plugins folder on Steam Runtime build --- Source/Core/DolphinQt/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/CMakeLists.txt b/Source/Core/DolphinQt/CMakeLists.txt index 31f8153c2e..3f45a9f2dd 100644 --- a/Source/Core/DolphinQt/CMakeLists.txt +++ b/Source/Core/DolphinQt/CMakeLists.txt @@ -645,7 +645,7 @@ 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 -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 From 5c80a9fd873aeeb63165840c551327b1f610c416 Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Tue, 10 Jan 2023 23:21:00 -0500 Subject: [PATCH 2/2] CMakeLists: Copy LICENSE files when building for Steam Runtime --- Source/Core/DolphinQt/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/DolphinQt/CMakeLists.txt b/Source/Core/DolphinQt/CMakeLists.txt index 3f45a9f2dd..182bd9e6e5 100644 --- a/Source/Core/DolphinQt/CMakeLists.txt +++ b/Source/Core/DolphinQt/CMakeLists.txt @@ -644,6 +644,7 @@ 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" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/plugins" )