Pārlūkot izejas kodu

cgal version warning

Former-commit-id: 6a5b0bef37aaf85aeeeb1e1955c239f775362f63
Alec Jacobson 9 gadi atpakaļ
vecāks
revīzija
8f6a46b77d
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      include/igl/cgal/projected_delaunay.cpp

+ 4 - 0
include/igl/cgal/projected_delaunay.cpp

@@ -10,6 +10,10 @@
 #include <iostream>
 #include <cassert>
 
+#if CGAL_VERSION_NR < 1040611000
+#  warning "CGAL Version < 4.6.1 may result in crashes. Please upgrade CGAL"
+#endif
+
 template <typename Kernel>
 IGL_INLINE void igl::cgal::projected_delaunay(
   const CGAL::Triangle_3<Kernel> & A,