v0.7.0 — Phase 7 complete: 173 Tests, Onboarding-Doku, geometry-central #3
@@ -5,9 +5,10 @@
|
||||
#
|
||||
# Which deps are extracted depends on the active build mode:
|
||||
#
|
||||
# (default) Eigen only → tests-only build
|
||||
# WITH_VIEWER=ON + Eigen, libigl, libigl-glad, glfw
|
||||
# WITH_CGAL=ON + Eigen, CGAL (WITH_VIEWER is implied by WITH_CGAL)
|
||||
# (default) Eigen only
|
||||
# WITH_CGAL_TESTS=ON + Eigen, CGAL (headless CI — no viewer)
|
||||
# WITH_VIEWER=ON + Eigen, libigl, libigl-glad, glfw
|
||||
# WITH_CGAL=ON + Eigen, CGAL, libigl, libigl-glad, glfw
|
||||
#
|
||||
|
||||
function(setup_dependency NAME SUBDIR)
|
||||
@@ -51,6 +52,7 @@ if(WITH_VIEWER)
|
||||
endif()
|
||||
|
||||
# ── CGAL mode ─────────────────────────────────────────────────────────────────
|
||||
if(WITH_CGAL)
|
||||
# Both WITH_CGAL_TESTS (headless CI) and WITH_CGAL (full build) need CGAL headers.
|
||||
if(WITH_CGAL OR WITH_CGAL_TESTS)
|
||||
setup_dependency("CGAL-6.1.1" "include")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user