aboutsummaryrefslogtreecommitdiff
path: root/libquotient.pri
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-08-11 23:02:51 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-08-11 23:02:51 +0200
commit8fa7dae82ac8e49b2a965377a663aedd08a5230b (patch)
treea6a50eb4f7357b23d56778516f64951ba0ea978d /libquotient.pri
parent08b9adcf611e0307daa8297205eb9ed3af66c71e (diff)
downloadlibquotient-8fa7dae82ac8e49b2a965377a663aedd08a5230b.tar.gz
libquotient-8fa7dae82ac8e49b2a965377a663aedd08a5230b.zip
Build system optimisations
* -DQT_NO_JAVA_STYLE_ITERATORS * Use precompiled headers on CMake >= 3.16 (except GCC, blame its cheap PCH implementation) * -fvisibility-inlines-hidden when using CMake
Diffstat (limited to 'libquotient.pri')
-rw-r--r--libquotient.pri1
1 files changed, 1 insertions, 0 deletions
diff --git a/libquotient.pri b/libquotient.pri
index 98fe3b03..ef0f112a 100644
--- a/libquotient.pri
+++ b/libquotient.pri
@@ -13,6 +13,7 @@ win32-msvc* {
QMAKE_CXXFLAGS_WARN_ON *= -Wno-unused-parameter
}
+DEFINES += QT_NO_JAVA_STYLE_ITERATORS
contains(DEFINES, Quotient_E2EE_ENABLED=.) {
contains(DEFINES, USE_INTREE_LIBQOLM=.) {
include(3rdparty/libQtOlm/libQtOlm.pri)