summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgal.pri8
1 files changed, 5 insertions, 3 deletions
diff --git a/cgal.pri b/cgal.pri
index 05ec6f4..c065044 100644
--- a/cgal.pri
+++ b/cgal.pri
@@ -13,12 +13,14 @@ cgal {
}
}
- win32 {
+ windows {
+ *-g++* {
+ QMAKE_CXXFLAGS += -frounding-math
+ }
LIBS += $$CGAL_DIR/auxiliary/gmp/lib/libmpfr-4.lib -lCGAL-vc90-mt-s
} else {
LIBS += -lgmp -lmpfr -lCGAL
- # FIXME: We should put this back for the Windows gcc-build
- QMAKE_CXXFLAGS += -frounding-math # visual C++ doesn't have this
+ QMAKE_CXXFLAGS += -frounding-math
}
}
contact: Jan Huwald // Impressum