summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgal.pri8
-rw-r--r--openscad.pro2
2 files changed, 6 insertions, 4 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
}
}
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
}
}
contact: Jan Huwald // Impressum