diff options
Diffstat (limited to 'cgal.pri')
-rw-r--r-- | cgal.pri | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -13,14 +13,19 @@ cgal { } } - windows { - *-g++* { - QMAKE_CXXFLAGS += -frounding-math - } - LIBS += $$CGAL_DIR/auxiliary/gmp/lib/libmpfr-4.lib -lCGAL-vc90-mt-s - } else { + CONFIG(mingw-cross-env) { LIBS += -lgmp -lmpfr -lCGAL QMAKE_CXXFLAGS += -frounding-math + } else { + windows { + *-g++* { + QMAKE_CXXFLAGS += -frounding-math + } + LIBS += $$CGAL_DIR/auxiliary/gmp/lib/libmpfr-4.lib -lCGAL-vc90-mt-s + } else { + LIBS += -lgmp -lmpfr -lCGAL + QMAKE_CXXFLAGS += -frounding-math + } } } |