From d81c63fad456cddab6eacd3b28836ab4f778f0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hejl?= Date: Tue, 9 Aug 2022 01:25:47 +0200 Subject: [PATCH] Fixed Perl unit tests after 77f5973c25ef0edc6db95de13c5976722b57a023. --- xs/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xs/CMakeLists.txt b/xs/CMakeLists.txt index 962e2e04d..89381ad7a 100644 --- a/xs/CMakeLists.txt +++ b/xs/CMakeLists.txt @@ -194,6 +194,11 @@ if (MSVC) COMMAND ${CMAKE_COMMAND} -E copy ${TOP_LEVEL_PROJECT_DIR}/deps/GMP/gmp/lib/win${_bits}/libgmp-10.dll "${PERL_LOCAL_LIB_ARCH_DIR}/auto/Slic3r/XS/" COMMENT "Installing gmp runtime into the local-lib directory ..." VERBATIM) + + add_custom_command(TARGET XS POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy ${TOP_LEVEL_PROJECT_DIR}/deps/MPFR/mpfr/lib/win${_bits}/libmpfr-4.dll "${PERL_LOCAL_LIB_ARCH_DIR}/auto/Slic3r/XS/" + COMMENT "Installing mpfr runtime into the local-lib directory ..." + VERBATIM) endif() # Installation