meson: explicitly specify path for find(1) (#971)

src/meson.build:1:0: ERROR: Command "/usr/bin/find -name *.cpp" failed with status 1.
This commit is contained in:
Jan Beich 2022-11-07 20:27:06 +00:00 committed by GitHub
parent 5d5066570c
commit c86ab4694c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
globber = run_command('find', '-name', '*.cpp', check: true) globber = run_command('find', '.', '-name', '*.cpp', check: true)
src = globber.stdout().strip().split('\n') src = globber.stdout().strip().split('\n')
executable('Hyprland', src, executable('Hyprland', src,