Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2019-12-10 19:42:25 +0300
committertamasmeszaros <meszaros.q@gmail.com>2019-12-10 19:42:25 +0300
commitfc19666fa295252cb13d9521e7978f4aeeb1f885 (patch)
treee0287fe8baaa333aea21d63ab99ce757825b0e33 /src/CMakeLists.txt
parent1cf057abbc5fb7a15bdccd0a13531af7a6cb9dbc (diff)
Add dll copy after targets for gmp and mpfr
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 530512cbb..52ec0f144 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -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