diff options
author | Simon Ser <contact@emersion.fr> | 2021-09-15 19:01:14 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-09-21 11:35:08 -0600 |
commit | 0c5ff5efabac281065962538ec61431b6ce5c51d (patch) | |
tree | 050690cd539e1c6e5f0e021c6d54af2d39c35a38 /protocol/meson.build | |
parent | 2e590026e9ea0d556bb9f6b06ca21dfb9244aec8 (diff) |
build: simplify get_variable calls
With recent-ish Meson we can stop repeating the variable name for
each provider.
Diffstat (limited to 'protocol/meson.build')
-rw-r--r-- | protocol/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocol/meson.build b/protocol/meson.build index 38dd456e..d9155348 100644 --- a/protocol/meson.build +++ b/protocol/meson.build @@ -3,11 +3,11 @@ wayland_protos = dependency('wayland-protocols', fallback: ['wayland-protocols', 'wayland_protocols'], default_options: ['tests=false'], ) -wl_protocol_dir = wayland_protos.get_variable(pkgconfig: 'pkgdatadir', internal: 'pkgdatadir') +wl_protocol_dir = wayland_protos.get_variable('pkgdatadir') wayland_scanner_dep = dependency('wayland-scanner', native: true) wayland_scanner = find_program( - wayland_scanner_dep.get_variable(pkgconfig: 'wayland_scanner'), + wayland_scanner_dep.get_variable('wayland_scanner'), native: true, ) |