diff --git a/screenshot-tests/meson.build b/screenshot-tests/meson.build index f32c55f..3d2f0eb 100644 --- a/screenshot-tests/meson.build +++ b/screenshot-tests/meson.build @@ -25,7 +25,7 @@ testexe = executable('screenshot-tests', test_sources, dependencies: [catch2.get_variable('catch2_dep'), eigen_dep], install: false) -test('Screenshots', testexe, workdir: meson.source_root()) +test('Screenshots', testexe, workdir: meson.project_source_root()) run_target('update_screenshots', command: './update_screenshots.sh') diff --git a/tests/meson.build b/tests/meson.build index d3b6713..7feca23 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -20,4 +20,4 @@ testexe = executable('unit-tests', test_sources, install: false) -test('Unittests', testexe, workdir: meson.source_root()) +test('Unittests', testexe, workdir: meson.project_source_root())