mirror of
https://github.com/tsukumijima/libmali-rockchip.git
synced 2026-01-23 16:00:49 +01:00
meson: Make wayland-egl wrapper optional
Change-Id: Ie94a62129280ffeb887689f7f1eb9d404b0b2fe9 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
parent
36e63b3a31
commit
8112c82ac2
2 changed files with 8 additions and 0 deletions
|
|
@ -239,6 +239,12 @@ foreach name, values : map
|
|||
is_opencl_icd = opencl_icd and name == 'OpenCL'
|
||||
is_vulkan_icd = name == 'vulkan'
|
||||
|
||||
if name == 'wayland-egl'
|
||||
if not get_option('wayland-egl')
|
||||
continue
|
||||
endif
|
||||
endif
|
||||
|
||||
if not cc.has_function(symbol, dependencies : mali)
|
||||
continue
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@ option('opencl-icd', type: 'boolean', value: true,
|
|||
description: 'OpenCL Installable Client Driver (ICD) (default: true)')
|
||||
option('khr-header', type: 'boolean', value: false,
|
||||
description: 'Install KHR header (default: false)')
|
||||
option('wayland-egl', type: 'boolean', value: true,
|
||||
description: 'Install wayland egl wrapper when needed (default: true)')
|
||||
option('vendor-package', type: 'boolean', value: false,
|
||||
description: 'Install as vendor package (default: false)')
|
||||
option('hooks', type: 'boolean', value: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue