mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
pps: Avoid duplicate elements in with_datasources array.
Setting -Dperfetto=true and -Ddatasources=intel,panfrost to the meson command line resulted in duplicate elements. Fixes:92180a4376("pps: Intel pps driver") Fixes:513d1baaea("pps: Panfrost pps driver") Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12379>
This commit is contained in:
parent
fd71ccf4d7
commit
77d2bdb0a2
2 changed files with 6 additions and 2 deletions
|
|
@ -27,4 +27,6 @@ pps_intel_dep = declare_dependency(
|
|||
)
|
||||
|
||||
pps_datasources += pps_intel_dep
|
||||
with_datasources += 'intel'
|
||||
if not with_datasources.contains('intel')
|
||||
with_datasources += 'intel'
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -28,4 +28,6 @@ pps_panfrost_dep = declare_dependency(
|
|||
)
|
||||
|
||||
pps_datasources += pps_panfrost_dep
|
||||
with_datasources += 'panfrost'
|
||||
if not with_datasources.contains('panfrost')
|
||||
with_datasources += 'panfrost'
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue