Commit 77ca25f
meson: switch version compare logic
meson will automatically suppress the warnings about using
features from later versions in the `if` statement.
This is not the case when the later version features are in
`else`.
Rewrite the conditional to switch to comparing `>=${NEW_VERSION}`
so that meson stops warning the use of newer features than our
`meson_version`.
Signed-off-by: Matt Jolly <[email protected]>1 parent 1a19ce7 commit 77ca25f
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
| 287 | + | |
| 288 | + | |
291 | 289 | | |
292 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
293 | 294 | | |
| 295 | + | |
294 | 296 | | |
295 | 297 | | |
296 | 298 | | |
| |||
0 commit comments