meson: Fix sysprof-capture-4 dependency
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:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user