From 08224cd22d219d06c891f9a108a55c4d24b9240c Mon Sep 17 00:00:00 2001 From: Florian Schmaus <flow@cs.fau.de> Date: Tue, 9 Mar 2021 08:34:45 +0100 Subject: [PATCH] [meson] Fix 'iwyu' target for meson >= 0.57 The run_target() function requires an absolute path in meson >= 0.57. --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 9d43e0ad..a7319441 100644 --- a/meson.build +++ b/meson.build @@ -14,8 +14,10 @@ emper_dependencies = [thread_dep, uring_dep] boost_thread_dep = dependency('boost', modules : ['thread'], required: false) +tools_dir = join_paths(meson.source_root(), 'tools') + run_target('iwyu', - command: 'tools/check-iwyu') + command: join_paths(tools_dir, 'check-iwyu')) conf_data = configuration_data() option_urcu = get_option('userspace_rcu') -- GitLab