diff options
author | David Robillard <d@drobilla.net> | 2022-11-19 17:48:43 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-11-19 17:48:43 -0500 |
commit | cb26c675a1e0178694523282b9a731a7a8eb9130 (patch) | |
tree | a83d91877f5a792bfa35372b6d96c5319b1420e8 | |
parent | b865c0bc123df3561ce7cde70af8d08e8f1055a3 (diff) | |
download | lilv-cb26c675a1e0178694523282b9a731a7a8eb9130.tar.gz lilv-cb26c675a1e0178694523282b9a731a7a8eb9130.tar.bz2 lilv-cb26c675a1e0178694523282b9a731a7a8eb9130.zip |
Avoid tools and bindings directories entirely if they're disabled
-rw-r--r-- | meson.build | 8 |
1 files 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 # |