From: Remi Gacogne Date: Fri, 14 Mar 2025 10:23:13 +0000 (+0100) Subject: Apply Miod's suggestion to define `COVERAGE` for `c` as well X-Git-Tag: dnsdist-2.0.0-alpha1~8^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60aa62298074f04e1725f96c45483ef74f40c528;p=thirdparty%2Fpdns.git Apply Miod's suggestion to define `COVERAGE` for `c` as well Co-authored-by: Miod Vallat --- diff --git a/meson/code-coverage/meson.build b/meson/code-coverage/meson.build index 0a21ef5266..221b307277 100644 --- a/meson/code-coverage/meson.build +++ b/meson/code-coverage/meson.build @@ -1,7 +1,7 @@ coverage = get_option('b_coverage') if coverage - add_project_arguments('-DCOVERAGE', language: 'cpp') + add_project_arguments('-DCOVERAGE', language: ['c', 'cpp']) if get_option('buildtype') != 'debug' warning('Coverage is enabled, using `builtype=debug` would produce better reports')