summaryrefslogtreecommitdiff
path: root/src/cgal.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-11-24 17:09:17 (GMT)
committerMarius Kintel <marius@kintel.net>2011-11-24 17:09:17 (GMT)
commit3f0a991a3da991ce9672fe92cffa157e194abab9 (patch)
tree4f722ba5c7fc07ea701b135d0a18b0629b8fa2a4 /src/cgal.h
parent2d98fb91ce974e2b907ab65fede9fcf481416765 (diff)
Bail if CGAL < 3.6
Diffstat (limited to 'src/cgal.h')
-rw-r--r--src/cgal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cgal.h b/src/cgal.h
index 26d64ae..669e5b1 100644
--- a/src/cgal.h
+++ b/src/cgal.h
@@ -11,6 +11,11 @@ using boost::intmax_t;
using boost::uintmax_t;
#endif
+#include <CGAL/version.h>
+#if CGAL_VERSION_NR < 1030601000
+ #error CGAL >= 3.6 is required!
+#endif
+
#include <CGAL/Gmpq.h>
#include <CGAL/Extended_cartesian.h>
#include <CGAL/Nef_polyhedron_2.h>
contact: Jan Huwald // Impressum