examples: remove unnecessary wlroots deps for clients

These clients don't need wlroots.
master
Simon Ser 3 years ago
parent 83bdb3ad07
commit 90e9d327dd

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

Loading…
Cancel
Save