From 47d75460723cbae1e4a084a9e8f762eece5dd38e Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 4 May 2021 13:49:23 +0200 Subject: meson: version.sh: SOURCE_DIR is not valid in custom_targets() --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3