fix(build-system): fixed build system order and test env variables

This commit is contained in:
2025-02-23 11:57:59 -05:00
parent 2d67413321
commit 205f32a76f
3 changed files with 9 additions and 3 deletions

View File

@@ -16,5 +16,8 @@ foreach test_file : test_sources
)
# Add the executable as a test
test(exe_name, test_exe)
test(
exe_name,
test_exe,
env: ['MESON_SOURCE_ROOT=' + meson.project_source_root(), 'MESON_BUILD_ROOT=' + meson.project_build_root()])
endforeach