aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-12-21 13:45:32 +0100
committerDaniel Eklöf <daniel@ekloef.se>2021-12-21 13:45:32 +0100
commit530c14aa235c205ddecfc522cd836cc12d2dd10d (patch)
treef66e0ec880f35a9c28d89fab8611620412a87dda /meson.build
parentcd6b39257050df2ed1def9d868547fe9742c16d5 (diff)
downloadwbg-530c14aa235c205ddecfc522cd836cc12d2dd10d.tar.gz
meson: generate-version: use CURRENT_SOURCE_DIR instead of SOURCE_ROOT
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 e46e645..f14e86e 100644
--- a/meson.build
+++ b/meson.build
@@ -97,7 +97,7 @@ version = custom_target(
'generate_version',
build_always_stale: true,
output: 'version.h',
- command: [env, 'LC_ALL=C', generate_version_sh, meson.project_version(), '@SOURCE_ROOT@', '@OUTPUT@'])
+ command: [env, 'LC_ALL=C', generate_version_sh, meson.project_version(), '@CURRENT_SOURCE_DIR@', '@OUTPUT@'])
image_format_sources = []
if png.found()