Skip to content

Commit

Permalink
Merge pull request #62 from baloo/baloo/optional-git
Browse files Browse the repository at this point in the history
meson: make the git dependency optional

Signed-off-by: Andrew Jeffery <[email protected]>
  • Loading branch information
amboar authored Oct 17, 2024
2 parents d5ea5eb + f3f403f commit e0f9ac2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ subdir('devicetree')
subdir('soc')

# Version
git = find_program('git')
version = vcs_tag(command: [git, 'describe', '--tags', '--dirty', '--always'],
version = vcs_tag(command: ['git', 'describe', '--tags', '--dirty', '--always'],
fallback: meson.project_version(),
input: 'version.h.in',
output: 'version.h',
Expand Down

0 comments on commit e0f9ac2

Please sign in to comment.