From d896c170960ba14d937d26ac9629256e96251246 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Fri, 12 Apr 2024 13:15:04 +0200 Subject: [PATCH] Remove -Werror on Windozs. `-Werror` make compilation fails on Windows. --- kiwix-desktop.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kiwix-desktop.pro b/kiwix-desktop.pro index 5d6c752f..ce02e162 100644 --- a/kiwix-desktop.pro +++ b/kiwix-desktop.pro @@ -18,9 +18,13 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets TARGET = kiwix-desktop TEMPLATE = app -QMAKE_CXXFLAGS += -std=c++17 -Werror +QMAKE_CXXFLAGS += -std=c++17 QMAKE_LFLAGS += -std=c++17 +!win32 { + QMAKE_CXXFLAGS += -Werror +} + # Also change resources/org.kiwix.desktop.appdata.xml DEFINES += VERSION="2.3.1"