examples: remove unnecessary wlroots deps for clients

These clients don't need wlroots.
This commit is contained in:
Simon Ser 2021-12-07 16:20:20 +01:00
parent 83bdb3ad07
commit 90e9d327dd
1 changed files with 2 additions and 4 deletions

View File

@ -103,7 +103,7 @@ clients = {
},
'output-power-management': {
'src': 'output-power-management.c',
'dep': [wayland_client, wlroots],
'dep': [wayland_client],
'proto': ['wlr-output-power-management-unstable-v1'],
},
'pointer-constraints': {
@ -174,12 +174,10 @@ clients = {
},
'foreign-toplevel': {
'src': 'foreign-toplevel.c',
'dep': [wlroots],
'proto': ['wlr-foreign-toplevel-management-unstable-v1'],
},
'virtual-pointer': {
'src': 'virtual-pointer.c',
'dep': wlroots,
'proto': ['wlr-virtual-pointer-unstable-v1'],
},
'input-method-keyboard-grab': {
@ -216,7 +214,7 @@ foreach name, info : clients
executable(
name,
[info.get('src'), extra_src],
dependencies: [wayland_client, info.get('dep')],
dependencies: [wayland_client, info.get('dep', [])],
build_by_default: get_option('examples'),
)
endforeach