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
1 changed files with 5 additions and 0 deletions

View File

@ -8,4 +8,9 @@ target_link_libraries(subrast
librw::librw 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) librw_platform_target(subrast)