Remove -Werror on Windozs.

`-Werror` make compilation fails on Windows.
This commit is contained in:
Matthieu Gautier 2024-04-12 13:15:04 +02:00
parent 20f32d03b5
commit d896c17096

View File

@ -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"