projects
/
zchunk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d86db5
)
Remove meson deprecation warning
author
Jonathan Dieter
<jdieter@gmail.com>
Fri, 16 Sep 2022 20:34:59 +0000
(21:34 +0100)
committer
Jonathan Dieter
<jdieter@gmail.com>
Fri, 16 Sep 2022 20:34:59 +0000
(21:34 +0100)
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
test/meson.build
patch
|
blob
|
history
diff --git
a/test/meson.build
b/test/meson.build
index 201dd2c3d6a7454e7f3a72e44c04f54f1e7196ea..3f7bae37777f3399ff0e7630c0ddc5ed925cc9f2 100644
(file)
--- 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',