mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-18 22:05:25 -05:00
meson: SOURCE_DIR is not a valid macro in custom_target()
But appears to have been allowed in older versions of meson. Fixes an issue where foot’s version was always reported as the last stable release, even though it was a git build.
This commit is contained in:
parent
098bc2771b
commit
928b819934
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ version = custom_target(
|
|||
'generate_version',
|
||||
build_always_stale: true,
|
||||
output: 'version.h',
|
||||
command: [generate_version_sh, meson.project_version(), '@SOURCE_DIR@', '@OUTPUT@'])
|
||||
command: [generate_version_sh, meson.project_version(), '@SOURCE_ROOT@', '@OUTPUT@'])
|
||||
|
||||
misc = static_library(
|
||||
'misc',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue