Commit d7e8027f authored by Martin Kröning's avatar Martin Kröning 🦀
Browse files

Ignore unknown pragmas as global argument

Setting this as default option does not work with meson 0.45.1
parent 1503e93b
......@@ -2,9 +2,11 @@ project('pi2-view', ['cpp', 'c'],
license: 'LGPL3',
meson_version: '>=0.45.1',
version: '0.1',
default_options : ['warning_level=3', 'cpp_args=-Wno-unknown-pragmas', 'werror=true', 'cpp_std=c++17', 'c_std=c11']
default_options : ['warning_level=3', 'werror=true', 'cpp_std=c++17', 'c_std=c11']
add_global_arguments('-Wno-unknown-pragmas', language : 'cpp')
microsoft_gsl_proj = subproject('microsoft-gsl')
microsoft_gsl_dep = microsoft_gsl_proj.get_variable('microsoft_gsl_dep')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment