From 530c14aa235c205ddecfc522cd836cc12d2dd10d Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 21 Dec 2021 13:45:32 +0100 Subject: meson: generate-version: use CURRENT_SOURCE_DIR instead of SOURCE_ROOT --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3