From 869dca1bce662e685a83a33f7550644817265fb9 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 22 Aug 2018 20:59:02 +1200 Subject: [PATCH] Remove unnecessary project arguments Meson handles rpath properly, and we don't need to use -I ourselves by using include_directories with '.'. --- meson.build | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/meson.build b/meson.build index 3216f208..db2e13e8 100644 --- a/meson.build +++ b/meson.build @@ -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')