mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 07:09:11 +02:00
Fix setting of version number in meson.build
This commit is contained in:
parent
de6c07ca2a
commit
d8b0c2d2bd
1 changed files with 1 additions and 2 deletions
|
|
@ -100,6 +100,7 @@ else
|
|||
have_xwayland = false
|
||||
endif
|
||||
|
||||
version = '@0@'.format(meson.project_version())
|
||||
git = find_program('git', native: true, required: false)
|
||||
if git.found()
|
||||
git_commit = run_command([git, 'rev-parse', '--short', 'HEAD'])
|
||||
|
|
@ -111,8 +112,6 @@ if git.found()
|
|||
git_branch.stdout().strip(),
|
||||
)
|
||||
endif
|
||||
else
|
||||
version = '@0@'.format(meson.project_version())
|
||||
endif
|
||||
|
||||
conf_data = configuration_data()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue