summaryrefslogtreecommitdiff
path: root/cgal.pri
diff options
context:
space:
mode:
Diffstat (limited to 'cgal.pri')
-rw-r--r--cgal.pri14
1 files changed, 10 insertions, 4 deletions
diff --git a/cgal.pri b/cgal.pri
index 49e44de..bb32d1f 100644
--- a/cgal.pri
+++ b/cgal.pri
@@ -1,5 +1,6 @@
cgal {
DEFINES += ENABLE_CGAL
+ CONFIG(mingw-cross-env):DEFINES += BOOST_STATIC BOOST_THREAD_USE_LIB Boost_USE_STATIC_LIBS
isEmpty(DEPLOYDIR) {
# Optionally specify location of CGAL using the
@@ -13,10 +14,15 @@ cgal {
}
}
- win32 {
- LIBS += $$CGAL_DIR/auxiliary/gmp/lib/libmpfr-4.lib -lCGAL-vc90-mt-s
- } else {
- LIBS += -lgmp -lmpfr -lCGAL
+ CONFIG(mingw-cross-env) {
+ LIBS += -lgmp -lmpfr -lCGAL
+ }
+ else {
+ win32 {
+ LIBS += $$CGAL_DIR/auxiliary/gmp/lib/libmpfr-4.lib -lCGAL-vc90-mt-s
+ } else {
+ LIBS += -lgmp -lmpfr -lCGAL
+ }
}
QMAKE_CXXFLAGS += -frounding-math
}
contact: Jan Huwald // Impressum