Skip to content

Commit

Permalink
Link boost_headeronly in slic3r and libslic3r (PR#13609 by @jmickelin)
Browse files Browse the repository at this point in the history
This solves the linker error about missing `boost::log` symbols.

Fixes #13608.
  • Loading branch information
jmickelin authored and SachCZ committed Nov 22, 2024
1 parent 0ea9a1c commit 20a02b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libslic3r/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ cmake_policy(SET CMP0011 NEW)
find_package(CGAL REQUIRED)
cmake_policy(POP)

add_library(libslic3r_cgal STATIC
add_library(libslic3r_cgal STATIC
CutSurface.hpp CutSurface.cpp
Geometry/VoronoiUtilsCgal.hpp Geometry/VoronoiUtilsCgal.cpp
IntersectionPoints.hpp IntersectionPoints.cpp
Expand Down Expand Up @@ -596,6 +596,7 @@ target_link_libraries(libslic3r PUBLIC
libigl
agg
ankerl
boost_headeronly
)

if (APPLE)
Expand Down
1 change: 1 addition & 0 deletions src/slic3r/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ target_link_libraries(
NanoSVG::nanosvgrast
stb_dxt
fastfloat
boost_headeronly
)

if (MSVC)
Expand Down

0 comments on commit 20a02b5

Please sign in to comment.