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:
Diffstat (limited to 'xs/CMakeLists.txt')
-rw-r--r--xs/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/xs/CMakeLists.txt b/xs/CMakeLists.txt
index fc8dab883..8b9f67cec 100644
--- a/xs/CMakeLists.txt
+++ b/xs/CMakeLists.txt
@@ -684,6 +684,7 @@ add_custom_target(pot
# ##############################################################################
set(LIBNEST2D_UNITTESTS ON CACHE BOOL "Force generating unittests for libnest2d")
+set(LIBNEST2D_BUILD_SHARED_LIB OFF CACHE BOOL "Disable build of shared lib.")
if(LIBNEST2D_UNITTESTS)
# If we want the libnest2d unit tests we need to build and executable with
@@ -705,7 +706,7 @@ add_subdirectory(${LIBDIR}/libnest2d)
target_include_directories(libslic3r PUBLIC BEFORE ${LIBNEST2D_INCLUDES})
# Add the binpack2d main sources and link them to libslic3r
-target_link_libraries(libslic3r libnest2d)
+target_link_libraries(libslic3r libnest2d_static)
# ##############################################################################
# Installation