From ca42f08e7d7b59827adc387adac64c32d0af9429 Mon Sep 17 00:00:00 2001 From: Florent Castelli Date: Fri, 3 Feb 2017 04:52:22 +0100 Subject: [PATCH] cmake: Copy resources next to the DolphinWX binary on Windows --- Source/Core/DolphinWX/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/DolphinWX/CMakeLists.txt b/Source/Core/DolphinWX/CMakeLists.txt index 989898b399..9f7501a8ab 100644 --- a/Source/Core/DolphinWX/CMakeLists.txt +++ b/Source/Core/DolphinWX/CMakeLists.txt @@ -188,6 +188,9 @@ if(wxWidgets_FOUND) set_target_properties(${DOLPHIN_EXE} PROPERTIES WIN32_EXECUTABLE ON ) + add_custom_command(TARGET ${DOLPHIN_EXE} + COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/Data/Sys $/Sys + ) else() install(TARGETS ${DOLPHIN_EXE} RUNTIME DESTINATION ${bindir}) endif()