Remove unnecessary project arguments

Meson handles rpath properly, and we don't need to use -I ourselves by
using include_directories with '.'.
master
Scott Anderson 6 years ago
parent 1358d80ab9
commit 869dca1bce

@ -21,14 +21,6 @@ add_project_arguments(
'-DWLR_SRC_DIR="@0@"'.format(meson.source_root()),
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(
'-DWLR_USE_UNSTABLE',
language: 'c',
@ -36,7 +28,7 @@ add_project_arguments(
conf_data = configuration_data()
wlr_inc = include_directories('include')
wlr_inc = include_directories('.', 'include')
cc = meson.get_compiler('c')

Loading…
Cancel
Save