Merge pull request #718 from emersion/wlroots-subproject

meson: use current_source_dir instead of source_root
This commit is contained in:
Drew DeVault 2018-03-12 09:16:17 -04:00 committed by GitHub
commit 90409b9692
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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())