diff options
-rw-r--r-- | meson.build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meson.build b/meson.build index f14e86e..47c6155 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project('wbg', 'c', version: '1.0.1', license: 'MIT', - meson_version: '>=0.53.0', + meson_version: '>=0.58.0', default_options: [ 'c_std=c18', 'warning_level=1', @@ -20,7 +20,7 @@ cc = meson.get_compiler('c') # Compute the relative path used by compiler invocations. source_root = meson.current_source_dir().split('/') -build_root = meson.build_root().split('/') +build_root = meson.global_build_root().split('/') relative_dir_parts = [] i = 0 in_prefix = true @@ -65,11 +65,11 @@ wayland_protocols = dependency('wayland-protocols') wayland_client = dependency('wayland-client') tllist = dependency('tllist', version: '>=1.0.1', fallback: 'tllist') -wayland_protocols_datadir = wayland_protocols.get_pkgconfig_variable('pkgdatadir') +wayland_protocols_datadir = wayland_protocols.get_variable('pkgdatadir') wscanner = dependency('wayland-scanner', native: true) wscanner_prog = find_program( - wscanner.get_pkgconfig_variable('wayland_scanner'), native: true) + wscanner.get_variable('wayland_scanner'), native: true) wl_proto_headers = [] wl_proto_src = [] |