Merge pull request #78 from ccawley2011/subrast-files

Copy files required by subrast example
This commit is contained in:
aap 2021-07-05 14:54:04 +02:00 committed by GitHub
commit b1781f4189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)