Try to compile kiwix-lib without warning.

This commit is contained in:
Matthieu Gautier
2018-03-14 11:26:40 +01:00
parent 32ad40a5b0
commit ec097ab267
4 changed files with 9 additions and 7 deletions

View File

@ -1,7 +1,7 @@
project('kiwix-lib', 'cpp',
version : '1.1.1',
license : 'GPL',
default_options : ['c_std=c11', 'cpp_std=c++11'])
default_options : ['c_std=c11', 'cpp_std=c++11', 'werror=true'])
compiler = meson.get_compiler('cpp')
find_library_in_compiler = meson.version().version_compare('>=0.31.0')