Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

Commit 337c368

Browse files
committed
build/meson: auto disable tests if in a subproject
1 parent 4e64a00 commit 337c368

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ meson.override_dependency(meson.project_name() + '_module', msft_proxy4_mod)
124124

125125
subdir('tools')
126126

127-
tests = get_option('tests')
127+
tests = get_option('tests').disable_auto_if(meson.is_subproject())
128128
gtest_dep = dependency(
129129
'gtest_main',
130130
main: true,

0 commit comments

Comments
 (0)