From ca6a122fe460ae328a282c6a2e3ffa03e150e4d8 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Sat, 3 Jul 2021 14:31:03 +0100 Subject: [PATCH] Copy files required by subrast example --- tools/subrast/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/subrast/CMakeLists.txt b/tools/subrast/CMakeLists.txt index 1bf1de7..83a30c1 100644 --- a/tools/subrast/CMakeLists.txt +++ b/tools/subrast/CMakeLists.txt @@ -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" "$/files" +) + librw_platform_target(subrast)