diff options
Diffstat (limited to 'cgal.pri')
-rw-r--r-- | cgal.pri | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -15,14 +15,18 @@ cgal { } CONFIG(mingw-cross-env) { - LIBS += -lgmp -lmpfr -lCGAL - } - else { - win32 { + LIBS += -lgmp -lmpfr -lCGAL + QMAKE_CXXFLAGS += -frounding-math + } else { + windows { + *-g++* { + QMAKE_CXXFLAGS += -frounding-math + } LIBS += $$CGAL_DIR/auxiliary/gmp/lib/libmpfr-4.lib -lCGAL-vc90-mt-s } else { LIBS += -lgmp -lmpfr -lCGAL + QMAKE_CXXFLAGS += -frounding-math } } - QMAKE_CXXFLAGS += -frounding-math + } |