build: use dicts instead of get_variable

Closes: https://github.com/swaywm/wlroots/issues/1963
This commit is contained in:
Simon Ser 2020-04-21 15:19:24 +02:00 committed by Drew DeVault
parent 0b882475ad
commit ab4f642153
3 changed files with 10 additions and 7 deletions

View file

@ -16,5 +16,5 @@ client_protos = [
]
foreach proto : client_protos
wlr_files += get_variable(proto.underscorify() + '_client_h')
wlr_files += protocols_client_header[proto]
endforeach