Skip to content

Commit

Permalink
Link boost_headeronly in slic3r and libslic3r
Browse files Browse the repository at this point in the history
This solves the linker error about missing `boost::log` symbols.

Fixes prusa3d#13608.
  • Loading branch information
jmickelin committed Nov 21, 2024
1 parent 5c1fd3e commit f7a25ca
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 @@ -450,6 +450,7 @@ target_link_libraries(
fastfloat
OpenSSL::SSL
OpenSSL::Crypto
boost_headeronly
)

if (MSVC)
Expand Down

0 comments on commit f7a25ca

Please sign in to comment.