diff --git a/backend/tests/CMakeLists.txt b/backend/tests/CMakeLists.txt index fc7a2e8e..be10b2d0 100644 --- a/backend/tests/CMakeLists.txt +++ b/backend/tests/CMakeLists.txt @@ -8,6 +8,11 @@ project(zint_backend_tests) enable_testing() +file(GLOB_RECURSE zint_backend_tests_data LIST_DIRECTORIES false RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "data/*") +foreach(data_file IN LISTS zint_backend_tests_data) + configure_file(${data_file} ${data_file} COPYONLY) +endforeach() + set(BWIPP_TAR ${CMAKE_CURRENT_SOURCE_DIR}/tools/bwipp_dump.ps.tar.xz) set(BWIPP_PS ${CMAKE_CURRENT_SOURCE_DIR}/tools/bwipp_dump.ps)