Fix the following warnings:

doc/api/meson.build:24: WARNING: Project targets '>= 0.57.2' but uses
        feature introduced in '0.60.0': install_tag arg in custom_target.
doc/api/meson.build:71: WARNING: Project targets '>= 0.57.2' but uses
        feature introduced in '0.60.0': install_tag arg in custom_target.
doc/api/meson.build:86: WARNING: Project targets '>= 0.57.2' but uses
        feature introduced in '0.60.0': install_tag arg in custom_target.
doc/guides/meson.build:16: WARNING: Project targets '>= 0.57.2' but uses
        feature introduced in '0.60.0': install_tag arg in custom_target.

Run the CI with --fatal-meson-warnings to ensure future warnings get
detected.

Signed-off-by: Robin Jarry <[email protected]>
---

Notes:
    NB: it would probably be nice to run builds with the latest meson release 
too.

 .ci/linux-build.sh | 1 +
 meson.build        | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index e0b914a14279..697b5ba9854a 100755
--- a/.ci/linux-build.sh
+++ b/.ci/linux-build.sh
@@ -163,6 +163,7 @@ fi
 
 OPTS="$OPTS -Dbuildtype=$buildtype"
 OPTS="$OPTS -Dwerror=true"
+OPTS="$OPTS --fatal-meson-warnings"
 
 if [ -d build ]; then
     meson configure build $OPTS
diff --git a/meson.build b/meson.build
index b01010ffa076..addfb28194c4 100644
--- a/meson.build
+++ b/meson.build
@@ -10,7 +10,7 @@ project('DPDK', 'c',
             'default_library=static',
             'warning_level=2',
         ],
-        meson_version: '>= 0.57.2'
+        meson_version: '>= 0.60.0'
         # meson_version_windows: '>= 1.5.2'
 )
 
-- 
2.55.0

Reply via email to