mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 14:45:58 +01:00
Use current_source_dir instead of source_root
This is so that log messages are printed properly when wlroots is build as a subproject.
This commit is contained in:
parent
b1ed61b649
commit
653ea512c2
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ so_version = ['0', '0', '0']
|
|||
|
||||
add_project_arguments('-Wno-unused-parameter', language: 'c')
|
||||
add_project_arguments(
|
||||
'-DWLR_SRC_DIR="@0@"'.format(meson.source_root()),
|
||||
'-DWLR_SRC_DIR="@0@"'.format(meson.current_source_dir()),
|
||||
language: 'c',
|
||||
)
|
||||
add_project_arguments(
|
||||
|
|
Loading…
Reference in a new issue