diff options
author | Simon Ser <contact@emersion.fr> | 2022-03-11 09:20:18 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-03-11 09:20:18 +0100 |
commit | cbdc42b19ddbc43c67383ecedd9aba17d915c80d (patch) | |
tree | daf4b1b0ee11404d0bf4c5c0c8ba6b1fd3fb5e1f | |
parent | 728a273d2e99fcf521912ab85f2ce2b19eeedb79 (diff) | |
download | swaybg-cbdc42b19ddbc43c67383ecedd9aba17d915c80d.tar.gz swaybg-cbdc42b19ddbc43c67383ecedd9aba17d915c80d.tar.bz2 |
build: stop using join_paths
-rw-r--r-- | meson.build | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/meson.build b/meson.build index 844062c..fe6ecb1 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,7 @@ project( 'c', version: '1.1.1', license: 'MIT', - meson_version: '>=0.48.0', + meson_version: '>=0.49.0', default_options: [ 'c_std=c11', 'warning_level=2', @@ -69,15 +69,14 @@ client_protos_src = [] client_protos_headers = [] client_protocols = [ - [wl_protocol_dir, 'stable/xdg-shell/xdg-shell.xml'], - [wl_protocol_dir, 'unstable/xdg-output/xdg-output-unstable-v1.xml'], - ['wlr-layer-shell-unstable-v1.xml'], + wl_protocol_dir / 'stable/xdg-shell/xdg-shell.xml', + wl_protocol_dir / 'unstable/xdg-output/xdg-output-unstable-v1.xml', + 'wlr-layer-shell-unstable-v1.xml', ] -foreach p : client_protocols - xml = join_paths(p) - client_protos_src += wayland_scanner_code.process(xml) - client_protos_headers += wayland_scanner_client.process(xml) +foreach filename : client_protocols + client_protos_src += wayland_scanner_code.process(filename) + client_protos_headers += wayland_scanner_client.process(filename) endforeach lib_client_protos = static_library( |