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
|
@ -18,7 +18,7 @@ so_version = ['0', '0', '0']
|
||||||
|
|
||||||
add_project_arguments('-Wno-unused-parameter', language: 'c')
|
add_project_arguments('-Wno-unused-parameter', language: 'c')
|
||||||
add_project_arguments(
|
add_project_arguments(
|
||||||
'-DWLR_SRC_DIR="@0@"'.format(meson.source_root()),
|
'-DWLR_SRC_DIR="@0@"'.format(meson.current_source_dir()),
|
||||||
language: 'c',
|
language: 'c',
|
||||||
)
|
)
|
||||||
add_project_arguments(
|
add_project_arguments(
|
||||||
|
|
Loading…
Reference in New Issue