Commit 703bd155 authored by Tiago Peixoto's avatar Tiago Peixoto

Fix compilation of triangulation code with CGAL

It is necessary to use -frounding-math to avoid run-time errors with
certain versions of CGAL.
parent d164b455
......@@ -179,6 +179,8 @@ dnl CGAL
AC_CHECK_LIB(CGAL,main)
[CGAL_LIBADD="-lCGAL"]
AC_SUBST(CGAL_LIBADD)
[CGAL_FLAGS="-frounding-math"]
AC_SUBST(CGAL_FLAGS)
dnl Checks for header files.
......
......@@ -2,7 +2,7 @@
AM_CPPFLAGS = $(MOD_CPPFLAGS)
AM_CXXFLAGS = $(CXXFLAGS)
AM_CXXFLAGS = $(CXXFLAGS) $(CGAL_FLAGS)
libgraph_tool_generationdir = $(pythondir)/graph_tool/generation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment