PrusaSlicer-NonPlainar/sandboxes/meshboolean/CMakeLists.txt

14 lines
257 B
CMake
Raw Normal View History

2019-12-10 14:10:39 +00:00
if (SLIC3R_STATIC)
set(CGAL_Boost_USE_STATIC_LIBS ON)
endif ()
find_package(CGAL REQUIRED)
2019-12-10 14:10:39 +00:00
add_executable(meshboolean MeshBoolean.cpp)
2019-12-10 14:10:39 +00:00
target_link_libraries(meshboolean libslic3r CGAL::CGAL)
if (WIN32)
prusaslicer_copy_dlls(meshboolean)
endif()