mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-08 08:20:59 -04: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',
|
'generate_version',
|
||||||
build_always_stale: true,
|
build_always_stale: true,
|
||||||
output: 'version.h',
|
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 = static_library(
|
||||||
'misc',
|
'misc',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue