Skip to content

Commit

Permalink
Remove -Werror on Windozs.
Browse files Browse the repository at this point in the history
`-Werror` make compilation fails on Windows.
  • Loading branch information
mgautierfr committed Apr 15, 2024
1 parent 20f32d0 commit d896c17
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion kiwix-desktop.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit d896c17

Please sign in to comment.