aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-04 13:49:23 +0200
committerDaniel Eklöf <daniel@ekloef.se>2021-05-04 13:49:23 +0200
commit47d75460723cbae1e4a084a9e8f762eece5dd38e (patch)
tree708df4d0f05df36b4390fe64ab02c1358487fbc1 /meson.build
parentbfaa97fa501c7da7f13acdfef338c6d0409f6fef (diff)
downloadwbg-47d75460723cbae1e4a084a9e8f762eece5dd38e.tar.gz
meson: version.sh: SOURCE_DIR is not valid in custom_targets()
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 694bba3..08217b7 100644
--- a/meson.build
+++ b/meson.build
@@ -96,7 +96,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@'])
image_format_sources = []
if png.found()