From 7a2bd9023a56f5553208a66168ddab24d0aa12b8 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Tue, 30 Nov 2021 11:00:18 +0100 Subject: [PATCH] One more fix to run unit tests on Windows: Missing DLLS need to be copied. --- tests/slic3rutils/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/slic3rutils/CMakeLists.txt b/tests/slic3rutils/CMakeLists.txt index 0063de1d1..e1ac113ae 100644 --- a/tests/slic3rutils/CMakeLists.txt +++ b/tests/slic3rutils/CMakeLists.txt @@ -9,5 +9,9 @@ if (MSVC) endif () 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} exclude:[NotWorking]")