Fix CGAL import with shared boost
This commit is contained in:
parent
c6223e5d7c
commit
c8a088e652
2 changed files with 11 additions and 5 deletions
|
@ -1,5 +1,9 @@
|
|||
if (SLIC3R_STATIC)
|
||||
set(CGAL_Boost_USE_STATIC_LIBS ON)
|
||||
endif ()
|
||||
|
||||
find_package(CGAL REQUIRED)
|
||||
|
||||
add_executable(meshboolean MeshBoolean.cpp)
|
||||
|
||||
target_link_libraries(meshboolean libslic3r CGAL::CGAL)
|
||||
target_link_libraries(meshboolean libslic3r CGAL::CGAL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue