mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
build: use meson.global_build_root()
meson.build_root() is deprecated. References: https://github.com/mesonbuild/meson/pull/8629
This commit is contained in:
parent
d2b6b570ea
commit
31db232704
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ project(
|
|||
'c',
|
||||
version: '0.15.0',
|
||||
license: 'MIT',
|
||||
meson_version: '>=0.56.0',
|
||||
meson_version: '>=0.58.1',
|
||||
default_options: [
|
||||
'c_std=c11',
|
||||
'warning_level=2',
|
||||
|
@ -50,7 +50,7 @@ add_project_arguments(cc.get_supported_arguments([
|
|||
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue