Fix CGAL import with shared boost

This commit is contained in:
tamasmeszaros 2019-12-10 15:10:39 +01:00
parent c6223e5d7c
commit c8a088e652
2 changed files with 11 additions and 5 deletions

View file

@ -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)