mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-31 15:41:58 +08:00
Build libslic3r-arrange/wrapper as static (PR#13896 from @wavexx)
Fix build on linux without SLIC3R_STATIC (these are for internal use only). - Avoids the need for installation (fixes https://github.com/prusa3d/PrusaSlicer/pull/13812) - Fixes build without PIC (fixes https://github.com/prusa3d/PrusaSlicer/pull/13810, https://github.com/prusa3d/PrusaSlicer/issues/13694), which would still result in broken behavior (duplicate static initialization crashing on startup).
This commit is contained in:
parent
e35766bb89
commit
c540bda309
@ -1,7 +1,7 @@
|
||||
project(slic3r-arrange-wrapper)
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
add_library(slic3r-arrange-wrapper
|
||||
add_library(slic3r-arrange-wrapper STATIC
|
||||
include/arrange-wrapper/Arrange.hpp
|
||||
include/arrange-wrapper/ArrangeSettingsDb_AppCfg.hpp
|
||||
include/arrange-wrapper/ArrangeSettingsView.hpp
|
||||
|
@ -1,7 +1,7 @@
|
||||
project(slic3r-arrange)
|
||||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
add_library(slic3r-arrange
|
||||
add_library(slic3r-arrange STATIC
|
||||
include/arrange/Beds.hpp
|
||||
include/arrange/ArrangeItemTraits.hpp
|
||||
include/arrange/PackingContext.hpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user