meson: Fix sysprof-capture-4 dependency
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

The versioning scheme changed in v45.0 (the previous version was
3.48.0). As such, this version check would wrongly accept e.g. 48.0.

Fixes: e9341568fa ("meson: require sysprof-capture-4 >= 4.49.0")
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38557>
This commit is contained in:
Matt Turner 2025-11-20 13:31:31 -05:00 committed by Marge Bot
parent 8cc06191a8
commit ad14942300

View file

@ -2214,7 +2214,7 @@ endif
with_sysprof = get_option('sysprof')
if with_sysprof
dep_sysprof = dependency('sysprof-capture-4', version: '>= 4.49.0')
dep_sysprof = dependency('sysprof-capture-4', version: '>= 49.0')
pre_args += '-DHAVE_SYSPROF'
endif