summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 1 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index 35bf462..555527c 100644
--- a/meson.build
+++ b/meson.build
@@ -34,9 +34,6 @@ if host_machine.system() == 'darwin'
endif
# Set global warning flags
-if get_option('strict') and not meson.is_subproject()
- subdir('meson/warnings')
-endif
subdir('meson/suppressions')
##########################
@@ -307,7 +304,7 @@ endif
# Tests #
#########
-if get_option('strict')
+if get_option('warning_level') == 'everything'
# Check release metadata
if not meson.is_subproject()
autoship = find_program('autoship', required: false)