diff options
-rw-r--r-- | cgal.pri | 8 | ||||
-rw-r--r-- | openscad.pro | 2 |
2 files changed, 6 insertions, 4 deletions
@@ -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 } } diff --git a/openscad.pro b/openscad.pro index 7408c5e..027576d 100644 --- a/openscad.pro +++ b/openscad.pro @@ -60,7 +60,7 @@ win32:QMAKE_CXXFLAGS += -wd4100 # disable Eigen SIMD optimizations for non-Mac OSX !macx { - !unix:freebsd-g++ { + !freebsd-g++ { QMAKE_CXXFLAGS += -DEIGEN_DONT_ALIGN } } |