Make cgal optional

This commit is contained in:
Thomas Krijnen
2023-03-22 11:47:00 +01:00
parent 2b1b79bf1c
commit 031694af2b
10 changed files with 36 additions and 1 deletions
+5 -1
View File
@@ -1,3 +1,5 @@
#ifdef IFOPSH_WITH_CGAL
#include "validation_utils.h"
double facet_area(const cgal_shape_t::Facet_handle& f) {
@@ -25,4 +27,6 @@ void dump_facet(const cgal_shape_t::Facet_handle& f) {
auto osss = oss.str();
std::wcout << osss.c_str() << std::endl;
}
}
#endif