fix no-rounding-math flag for windows G++ build in cgal.pri

stl_dim
don 2011-10-22 13:38:53 +00:00
parent b534f40aa0
commit 44d1436d47
1 changed files with 5 additions and 3 deletions

View File

@ -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
}
}