summaryrefslogtreecommitdiff
path: root/cgal.pri
diff options
context:
space:
mode:
authordon <don@debian-amd64>2011-10-22 13:38:53 (GMT)
committerdon <don@debian-amd64>2011-10-22 13:38:53 (GMT)
commit44d1436d47e3cc43dbca9c0378af3cdb2d475297 (patch)
tree48c108ac41e670314bd91d54d964bb5e4735fd72 /cgal.pri
parentb534f40aa0b01f1100854f3acbd35ec725792604 (diff)
fix no-rounding-math flag for windows G++ build in cgal.pri
Diffstat (limited to 'cgal.pri')
-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