aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-12 09:16:17 -0400
committerGitHub <noreply@github.com>2018-03-12 09:16:17 -0400
commit90409b9692422769173adfed9ae7b62c54c6ae6c (patch)
treedf19148d68a06f3ad5086f949213473dd2ddb9e3
parent1c5e035884018b2f78ad4f8ee44177c45ddf2892 (diff)
parent375e1bdf2b241bf6dfb136988562c2cdf492b55d (diff)
Merge pull request #718 from emersion/wlroots-subproject
meson: use current_source_dir instead of source_root
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 553d2b88..c7ca038c 100644
--- a/meson.build
+++ b/meson.build
@@ -196,7 +196,7 @@ git = find_program('git', required: false)
if git.found()
all_files = run_command(
git,
- ['--git-dir=@0@/.git'.format(meson.source_root()),
+ ['--git-dir=@0@/.git'.format(meson.current_source_dir()),
'ls-files',
':/*.[ch]'])
all_files = files(all_files.stdout().split())