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
+4
View File
@@ -1,3 +1,5 @@
#ifdef IFOPSH_WITH_CGAL
#include "../ifcgeom/kernels/cgal/CgalKernel.h"
#include "../ifcgeom/IfcGeomFilter.h"
#include "../ifcgeom/Iterator.h"
@@ -582,3 +584,5 @@ struct intersection_validator {
CGAL::box_self_intersection_d(boxes.begin(), boxes.end(), fn);
}
};
#endif