summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorOatmealDome <julian@oatmealdome.me>2022-02-20 22:28:37 -0500
committerOatmealDome <julian@oatmealdome.me>2022-05-29 13:50:32 -0400
commit09875c640331bab3d4b36b84ecb8d5bcdccc54f9 (patch)
treeb19183ee0d8aa3f186856d1de26953aaf47f6999 /Source/Core
parent5c4122ec2a0b66b9a717b7be7512504064f566e5 (diff)
DolphinQt: Copy qt.conf into Binaries output folder on Steam builds for Linux
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/CMakeLists.txt b/Source/Core/DolphinQt/CMakeLists.txt
index 6d7a95e524..6b24b3e68a 100644
--- a/Source/Core/DolphinQt/CMakeLists.txt
+++ b/Source/Core/DolphinQt/CMakeLists.txt
@@ -627,6 +627,12 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND STEAM)
COMMAND ${CMAKE_COMMAND} -E copy_directory "${QT_DIR}/../../../plugins/platforms" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/platforms"
)
+ # Copy qt.conf
+ target_sources(dolphin-emu PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/qt.conf")
+ add_custom_command(TARGET dolphin-emu POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_CURRENT_SOURCE_DIR}/qt.conf" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/qt.conf"
+ )
+
# Mark all data files as resources
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR}/Data/Sys")
file(GLOB_RECURSE resources RELATIVE "${CMAKE_SOURCE_DIR}/Data" "${CMAKE_SOURCE_DIR}/Data/Sys/*")