mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-23 03:58:56 -04:00
Remove -Werror on Windozs.
`-Werror` make compilation fails on Windows.
This commit is contained in:
parent
20f32d03b5
commit
d896c17096
@ -18,9 +18,13 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|||||||
TARGET = kiwix-desktop
|
TARGET = kiwix-desktop
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
QMAKE_CXXFLAGS += -std=c++17 -Werror
|
QMAKE_CXXFLAGS += -std=c++17
|
||||||
QMAKE_LFLAGS += -std=c++17
|
QMAKE_LFLAGS += -std=c++17
|
||||||
|
|
||||||
|
!win32 {
|
||||||
|
QMAKE_CXXFLAGS += -Werror
|
||||||
|
}
|
||||||
|
|
||||||
# Also change resources/org.kiwix.desktop.appdata.xml
|
# Also change resources/org.kiwix.desktop.appdata.xml
|
||||||
DEFINES += VERSION="2.3.1"
|
DEFINES += VERSION="2.3.1"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user