aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()