Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 20a02b5

Browse files
jmickelinSachCZ
authored andcommittedNov 22, 2024
Link boost_headeronly in slic3r and libslic3r (PR#13609 by @jmickelin)
This solves the linker error about missing `boost::log` symbols. Fixes #13608.
1 parent 0ea9a1c commit 20a02b5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎src/libslic3r/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ cmake_policy(SET CMP0011 NEW)
524524
find_package(CGAL REQUIRED)
525525
cmake_policy(POP)
526526

527-
add_library(libslic3r_cgal STATIC
527+
add_library(libslic3r_cgal STATIC
528528
CutSurface.hpp CutSurface.cpp
529529
Geometry/VoronoiUtilsCgal.hpp Geometry/VoronoiUtilsCgal.cpp
530530
IntersectionPoints.hpp IntersectionPoints.cpp
@@ -596,6 +596,7 @@ target_link_libraries(libslic3r PUBLIC
596596
libigl
597597
agg
598598
ankerl
599+
boost_headeronly
599600
)
600601

601602
if (APPLE)

‎src/slic3r/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ target_link_libraries(
447447
NanoSVG::nanosvgrast
448448
stb_dxt
449449
fastfloat
450+
boost_headeronly
450451
)
451452

452453
if (MSVC)

0 commit comments

Comments
 (0)
Please sign in to comment.