chore: use native git

This commit is contained in:
Alex 2020-04-05 16:12:25 +02:00
parent bb2c16386b
commit d5bd3be8de
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ else
cpp_link_args += ['-lstdc++fs']
endif
git = find_program('git', required: false)
git = find_program('git', native: true, required: false)
if not git.found()
add_project_arguments('-DVERSION="@0@"'.format(meson.project_version()), language: 'cpp')