From 5c80a9fd873aeeb63165840c551327b1f610c416 Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Tue, 10 Jan 2023 23:21:00 -0500 Subject: [PATCH] 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" )