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:
Scott Anderson 2018-08-22 20:59:02 +12:00
parent 1358d80ab9
commit 869dca1bce
1 changed files with 1 additions and 9 deletions

View File

@ -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')