From 2d86e3cc4d5c28275af33d106b8eaffefbad4cf2 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Wed, 5 Feb 2020 18:22:17 +0100 Subject: [PATCH] fix failing test due to missing cgal dlls --- tests/libslic3r/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/libslic3r/CMakeLists.txt b/tests/libslic3r/CMakeLists.txt index 97d9b0bc7..d8dac3c10 100644 --- a/tests/libslic3r/CMakeLists.txt +++ b/tests/libslic3r/CMakeLists.txt @@ -22,5 +22,9 @@ endif() target_link_libraries(${_TEST_NAME}_tests test_common libslic3r) set_property(TARGET ${_TEST_NAME}_tests PROPERTY FOLDER "tests") +if (WIN32) + prusaslicer_copy_dlls(${_TEST_NAME}_tests) +endif() + # catch_discover_tests(${_TEST_NAME}_tests TEST_PREFIX "${_TEST_NAME}: ") add_test(${_TEST_NAME}_tests ${_TEST_NAME}_tests ${CATCH_EXTRA_ARGS})