aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Anderson <scott@anderso.nz>2018-08-22 21:20:26 +1200
committerScott Anderson <scott@anderso.nz>2018-08-23 14:19:59 +1200
commit653ea512c2a44260394c0c3a8d5aecd028c0e188 (patch)
tree89f9829b9fd2918aa45f072033e12edf98de7795
parentb1ed61b6493e2a5882aedf9d6732d34b390a8d26 (diff)
Use current_source_dir instead of source_root
This is so that log messages are printed properly when wlroots is build as a subproject.
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
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(