From 3f1fab4dee81fd9be5c21cc27024d08f3b974975 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 21 Jun 2024 17:52:37 -0700 Subject: [PATCH] meson: fix tests as subproject looks like relative path doesn't work correctly. Signed-off-by: Rosen Penev --- unitTests/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unitTests/meson.build b/unitTests/meson.build index 35d7723936..b1b5b0d49d 100644 --- a/unitTests/meson.build +++ b/unitTests/meson.build @@ -48,7 +48,7 @@ if host_machine.system() == 'windows' and get_option('default_library') != 'stat test_sources += int_lib endif -t_args = ['-UEXIV2API', '-DEXIV2API=', '-DTESTDATA_PATH="@0@"'.format('..' / 'test' / 'data')] +t_args = ['-UEXIV2API', '-DEXIV2API=', '-DTESTDATA_PATH="@0@"'.format(meson.current_source_dir() / '..' / 'test' / 'data')] unit_tests = executable( 'unit_tests',