From 44d1436d47e3cc43dbca9c0378af3cdb2d475297 Mon Sep 17 00:00:00 2001 From: don Date: Sat, 22 Oct 2011 13:38:53 +0000 Subject: fix no-rounding-math flag for windows G++ build in cgal.pri 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 } } -- cgit v0.10.1