From 2f702c296fc949cae90360c2b226692c1edcb2d8 Mon Sep 17 00:00:00 2001 From: Greger Stolt Nilsen Date: Mon, 11 Nov 2024 20:01:47 +0100 Subject: [PATCH] Fix use of deprecated meson function. --- screenshot-tests/meson.build | 2 +- tests/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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())