summaryrefslogtreecommitdiff
path: root/src/nef2dxf.cc
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-01 10:01:05 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-01 10:01:05 (GMT)
commit51ae2483733a75c8e7fbaa8abe7f7b0a999c1db0 (patch)
tree069262f86a94536c4e3983b78367e43fb00f1fa7 /src/nef2dxf.cc
parent07bc7dbecd8ed226ab950ee2b493ce3df2e5a8e0 (diff)
Clifford Wolf:
Fixed building without CGAL git-svn-id: http://svn.clifford.at/openscad/trunk@406 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'src/nef2dxf.cc')
-rw-r--r--src/nef2dxf.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nef2dxf.cc b/src/nef2dxf.cc
index 5df8a45..44d7561 100644
--- a/src/nef2dxf.cc
+++ b/src/nef2dxf.cc
@@ -27,6 +27,8 @@
#include "grid.h"
#include "cgal.h"
+#ifdef ENABLE_CGAL
+
DxfData::DxfData(const struct CGAL_Nef_polyhedron &N)
{
Grid2d<int> grid(GRID_COARSE);
@@ -70,3 +72,4 @@ DxfData::DxfData(const struct CGAL_Nef_polyhedron &N)
fixup_path_direction();
}
+#endif // ENABLE_CGAL
contact: Jan Huwald // Impressum