summaryrefslogtreecommitdiff
path: root/src/3rdparty/poly2tri/poly2tri.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/poly2tri/poly2tri.pro')
-rw-r--r--src/3rdparty/poly2tri/poly2tri.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/3rdparty/poly2tri/poly2tri.pro b/src/3rdparty/poly2tri/poly2tri.pro
index 779eae63..981f375d 100644
--- a/src/3rdparty/poly2tri/poly2tri.pro
+++ b/src/3rdparty/poly2tri/poly2tri.pro
@@ -7,6 +7,9 @@ CONFIG -= qt
contains(QT_CONFIG, debug_and_release):CONFIG += debug_and_release
contains(QT_CONFIG, build_all):CONFIG += build_all
+# workaround for QTBUG-31586
+contains(QT_CONFIG, c++11): CONFIG += c++11
+
*-g++* {
QMAKE_CXXFLAGS += -O3 -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wno-error=return-type
}