Add dll copy after targets for gmp and mpfr

This commit is contained in:
tamasmeszaros 2019-12-10 17:42:25 +01:00
parent 1cf057abbc
commit fc19666fa2
3 changed files with 32 additions and 0 deletions

View file

@ -195,6 +195,11 @@ if (WIN32)
VERBATIM
)
endif ()
# This has to be a separate target due to the windows command line lenght limits
add_custom_target(PrusaSlicerDllsCopy ALL DEPENDS PrusaSlicer)
prusaslicer_copy_dlls(PrusaSlicerDllsCopy)
elseif (XCODE)
# Because of Debug/Release/etc. configurations (similar to MSVC) the slic3r binary is located in an extra level
add_custom_command(TARGET PrusaSlicer POST_BUILD