meson: Use feature options everywhere it makes sense

This commit is contained in:
Thibault Saunier 2021-03-10 15:36:27 -03:00 committed by Wim Taymans
parent 98bedb3895
commit 485bae5eb0
20 changed files with 211 additions and 224 deletions

View file

@ -1,6 +1,6 @@
if get_option('systemd-system-service')
if not get_option('systemd-system-service').disabled()
subdir('system')
endif
if get_option('systemd-user-service')
if not get_option('systemd-user-service').disabled()
subdir('user')
endif