Copy the test data into the build directory (just in case)

This commit is contained in:
Schaich 2021-03-22 20:39:37 +09:00
parent 4c524838f5
commit 98cd7b231f

View file

@ -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)