From a324ccf915b545b71cf2d437879f0269bfc5fc40 Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Wed, 13 Mar 2024 15:45:28 +0200 Subject: [PATCH] meson: Require version 0.52.1, remove docs workaround Update to Meson 0.52.1, which should be available in all supported systems. This allows removing a workaround for documentation as the new Meson version includes a fixed HotDoc module. --- meson.build | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meson.build b/meson.build index 382fbec..fb06475 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('wpebackend-fdo', ['c', 'cpp'], - meson_version: '>=0.49', + meson_version: '>=0.52.1', default_options: [ 'b_ndebug=if-release', 'c_std=c99', @@ -368,8 +368,6 @@ if get_option('build_docs') c_smart_index: true, c_sources: api_headers, c_include_directories: ['include', meson.current_build_dir()], - # The space here is relevant, see - # https://github.com/mesonbuild/meson/issues/5800#issuecomment-552198354 - extra_c_flags: [' -DWPE_FDO_COMPILATION=1'], + extra_c_flags: ['-DWPE_FDO_COMPILATION=1'], ) endif