From: Jonathan Dieter Date: Fri, 16 Sep 2022 20:34:59 +0000 (+0100) Subject: Remove meson deprecation warning X-Git-Tag: archive/raspbian/1.2.3+ds1-2+rpi1^2~8^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6db297c01c62198b3a4d9dc04cba70f918f386db;p=zchunk.git Remove meson deprecation warning Signed-off-by: Jonathan Dieter --- diff --git a/test/meson.build b/test/meson.build index 201dd2c..3f7bae3 100644 --- a/test/meson.build +++ b/test/meson.build @@ -56,7 +56,12 @@ zck_cmp_uncomp = executable( c_args: preprocessor_defines, install: false ) -file_path = join_paths(meson.source_root(), 'test/files') + +if meson.version().version_compare('>=0.56.0') + file_path = join_paths(meson.project_source_root(), 'test/files') +else + file_path = join_paths(meson.source_root(), 'test/files') +endif test( 'create and validate empty zchunk file',