Remove unnecessary project arguments
Meson handles rpath properly, and we don't need to use -I ourselves by using include_directories with '.'.
This commit is contained in:
parent
1358d80ab9
commit
869dca1bce
10
meson.build
10
meson.build
|
@ -21,14 +21,6 @@ add_project_arguments(
|
||||||
'-DWLR_SRC_DIR="@0@"'.format(meson.source_root()),
|
'-DWLR_SRC_DIR="@0@"'.format(meson.source_root()),
|
||||||
language: 'c',
|
language: 'c',
|
||||||
)
|
)
|
||||||
add_project_arguments(
|
|
||||||
'-I@0@'.format(meson.build_root()),
|
|
||||||
language: 'c',
|
|
||||||
)
|
|
||||||
add_project_link_arguments(
|
|
||||||
'-Wl,-rpath,@0@'.format(meson.build_root()),
|
|
||||||
language: 'c',
|
|
||||||
)
|
|
||||||
add_project_arguments(
|
add_project_arguments(
|
||||||
'-DWLR_USE_UNSTABLE',
|
'-DWLR_USE_UNSTABLE',
|
||||||
language: 'c',
|
language: 'c',
|
||||||
|
@ -36,7 +28,7 @@ add_project_arguments(
|
||||||
|
|
||||||
conf_data = configuration_data()
|
conf_data = configuration_data()
|
||||||
|
|
||||||
wlr_inc = include_directories('include')
|
wlr_inc = include_directories('.', 'include')
|
||||||
|
|
||||||
cc = meson.get_compiler('c')
|
cc = meson.get_compiler('c')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue