diff options
Diffstat (limited to 'cgal.pri')
-rw-r--r-- | cgal.pri | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cgal.pri b/cgal.pri new file mode 100644 index 0000000..fd58779 --- /dev/null +++ b/cgal.pri @@ -0,0 +1,16 @@ +cgal { +# Uncomment this to enable experimental CGAL tesselation +# DEFINES += CGAL_TESSELATE + DEFINES += ENABLE_CGAL + LIBS += -lCGAL + macx { + INCLUDEPATH += $(PWD)/../install/include /opt/local/include + # The -L/usr/lib is to force the linker to use system libraries over MacPort libraries + LIBS += -L/usr/lib -L$(PWD)/../install/lib -L/opt/local/lib /opt/local/lib/libgmp.a /opt/local/lib/libmpfr.a /opt/local/lib/libboost_thread-mt.a + } + else { + LIBS += -lmpfr + } + win32:LIBS += -lboost_thread -lgmp + QMAKE_CXXFLAGS += -frounding-math +} |