One more fix to run unit tests on Windows: Missing DLLS need to be copied.

This commit is contained in:
Vojtech Bubnik 2021-11-30 11:00:18 +01:00
parent a3874a410f
commit 7a2bd9023a

View File

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