cmake: Copy resources next to the DolphinWX binary on Windows

This commit is contained in:
Florent Castelli 2017-02-03 04:52:22 +01:00
parent 1a4f044e9e
commit ca42f08e7d
1 changed files with 3 additions and 0 deletions

View File

@ -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 $<TARGET_FILE_DIR:${DOLPHIN_EXE}>/Sys
)
else()
install(TARGETS ${DOLPHIN_EXE} RUNTIME DESTINATION ${bindir})
endif()