Skip to content

Commit

Permalink
cmake: fix copying of resource files on uwp
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr committed Jul 25, 2024
1 parent 9f9ebcd commit 9826f73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ macro(add_sdl_example_executable TARGET)
add_custom_target(zzz-resources-copy-${TARGET}
COMMAND ${CMAKE_COMMAND} -E make_directory "$<TARGET_FILE_DIR:${TARGET}>/AppX"
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${AST_DATAFILES} "$<TARGET_FILE_DIR:${TARGET}>/AppX"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
)
add_dependencies(${TARGET} zzz-resources-copy-${TARGET})
else()
Expand Down

0 comments on commit 9826f73

Please sign in to comment.