Skip to content

Commit 3f1fab4

Browse files
committed
meson: fix tests as subproject
looks like relative path doesn't work correctly. Signed-off-by: Rosen Penev <rosenp@gmail.com>
1 parent e843bc4 commit 3f1fab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unitTests/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if host_machine.system() == 'windows' and get_option('default_library') != 'stat
4848
test_sources += int_lib
4949
endif
5050

51-
t_args = ['-UEXIV2API', '-DEXIV2API=', '-DTESTDATA_PATH="@0@"'.format('..' / 'test' / 'data')]
51+
t_args = ['-UEXIV2API', '-DEXIV2API=', '-DTESTDATA_PATH="@0@"'.format(meson.current_source_dir() / '..' / 'test' / 'data')]
5252

5353
unit_tests = executable(
5454
'unit_tests',

0 commit comments

Comments
 (0)