mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 15:12:26 +00:00
Merge pull request #718 from emersion/wlroots-subproject
meson: use current_source_dir instead of source_root
This commit is contained in:
commit
90409b9692
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user