From 83c02756c8f48fc54c6e2cf96edb9245d891396a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 3 May 2023 11:53:40 -0400 Subject: Replace strict option with new meson warning level --- examples/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/meson.build b/examples/meson.build index b1ac7a6..5c995a9 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -1,4 +1,4 @@ -# Copyright 2021-2022 David Robillard +# Copyright 2021-2023 David Robillard # SPDX-License-Identifier: 0BSD OR ISC data_dir = get_option('prefix') / get_option('datadir') / 'pugl-0' @@ -35,7 +35,7 @@ includes = include_directories( # Suppress some additional C warnings in examples example_c_args = [] -if get_option('strict') +if get_option('warning_level') == 'everything' if cc.get_id() == 'clang' example_c_args += [ '-Wno-float-equal', @@ -53,7 +53,7 @@ endif # Suppress some additional C++ warnings in examples example_cpp_args = [] -if get_option('strict') and is_variable('cpp') +if get_option('warning_level') == 'everything' and is_variable('cpp') if cpp.get_id() == 'clang' example_cpp_args += [ '-Wno-documentation', # Cairo -- cgit v1.2.1