meson: Don't run tests on cross builds

This can be made into an option or whatever when cross builds that
can/need to run tests show up, but for now this is enough.
This commit is contained in:
arch1t3cht 2023-11-06 22:12:30 +01:00
parent 45fdaecd72
commit d728ce0e78
1 changed files with 4 additions and 1 deletions

View File

@ -340,7 +340,10 @@ subdir('libaegisub')
subdir('packages')
subdir('po')
subdir('src')
subdir('tests')
if not meson.is_cross_build()
subdir('tests')
endif
aegisub_cpp_pch = ['src/include/agi_pre.h']
aegisub_c_pch = ['src/include/agi_pre_c.h']