From cb26c675a1e0178694523282b9a731a7a8eb9130 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 19 Nov 2022 17:48:43 -0500 Subject: Avoid tools and bindings directories entirely if they're disabled --- meson.build | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 47f9c56..aeb79bf 100644 --- a/meson.build +++ b/meson.build @@ -179,13 +179,17 @@ install_headers(cpp_headers, subdir: versioned_name / 'lilv') # Tools # ######### -subdir('tools') +if not get_option('tools').disabled() + subdir('tools') +endif ############ # Bindings # ############ -subdir('bindings/python') +if not get_option('bindings_py').disabled() + subdir('bindings/python') +endif ########### # Support # -- cgit v1.2.1