From b8c3905e829d941d1e950ecebf45b47d46e99067 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Thu, 4 Aug 2022 15:47:50 +0200 Subject: [PATCH] Fix crashing SLA tests on Win --- tests/sla_print/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/sla_print/CMakeLists.txt b/tests/sla_print/CMakeLists.txt index dc583f1a1..1cfa7d6c1 100644 --- a/tests/sla_print/CMakeLists.txt +++ b/tests/sla_print/CMakeLists.txt @@ -7,5 +7,9 @@ add_executable(${_TEST_NAME}_tests ${_TEST_NAME}_tests_main.cpp 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})