From 8fa7dae82ac8e49b2a965377a663aedd08a5230b Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Tue, 11 Aug 2020 23:02:51 +0200 Subject: 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 --- libquotient.pri | 1 + 1 file changed, 1 insertion(+) (limited to 'libquotient.pri') 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) -- cgit v1.2.3