Copy files required by subrast example

This commit is contained in:
Cameron Cawley 2021-07-03 14:31:03 +01:00
parent b2ceadc9f2
commit ca6a122fe4

View File

@ -8,4 +8,9 @@ target_link_libraries(subrast
librw::librw
)
add_custom_command(
TARGET subrast POST_BUILD
COMMAND "${CMAKE_COMMAND}" -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/files" "$<TARGET_FILE_DIR:subrast>/files"
)
librw_platform_target(subrast)