diff options
author | Scott Anderson <scott@anderso.nz> | 2018-08-22 21:20:26 +1200 |
---|---|---|
committer | Scott Anderson <scott@anderso.nz> | 2018-08-23 14:19:59 +1200 |
commit | 653ea512c2a44260394c0c3a8d5aecd028c0e188 (patch) | |
tree | 89f9829b9fd2918aa45f072033e12edf98de7795 | |
parent | b1ed61b6493e2a5882aedf9d6732d34b390a8d26 (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.build | 2 |
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( |