#S4 default enable `LOAS3_AUTH_FLAG` option, and have the UT skip the AUTH with the `test` option
PiperOrigin-RevId: 740449221
Change-Id: Ia5cd43c2cf93a3bab82e512702693acfed8db3ce
diff --git a/meson.build b/meson.build
index 7621eaa..83cc4cc 100644
--- a/meson.build
+++ b/meson.build
@@ -13,7 +13,7 @@
conf_data = configuration_data()
conf_data.set('LOAS3_AUTH_FLAG', 0)
loas_deps = []
-if get_option('loas3-validation').enabled()
+if get_option('loas3-validation').enabled() or not get_option('tests').enabled()
loas_deps += dependency('authentication_policy_validation')
conf_data.set('LOAS3_AUTH_FLAG', 1)
endif