From 653ea512c2a44260394c0c3a8d5aecd028c0e188 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 22 Aug 2018 21:20:26 +1200 Subject: [PATCH] Use current_source_dir instead of source_root This is so that log messages are printed properly when wlroots is build as a subproject. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 06605189..8458a66c 100644 --- a/meson.build +++ b/meson.build @@ -18,7 +18,7 @@ so_version = ['0', '0', '0'] add_project_arguments('-Wno-unused-parameter', language: 'c') add_project_arguments( - '-DWLR_SRC_DIR="@0@"'.format(meson.source_root()), + '-DWLR_SRC_DIR="@0@"'.format(meson.current_source_dir()), language: 'c', ) add_project_arguments(