From 6094c907b26e21f13373bae6bf3306dbae40af3c Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Wed, 26 Aug 2026 15:08:16 -0400 Subject: Update deps, small changes and cleanup Signed-off-by: Andrew Opalach --- src/fruits/meson.build | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) (limited to 'src/fruits/meson.build') diff --git a/src/fruits/meson.build b/src/fruits/meson.build index f53a653..b152990 100644 --- a/src/fruits/meson.build +++ b/src/fruits/meson.build @@ -1,6 +1,6 @@ -use_tuis = not is_windows - -if use_tuis and (get_option('server').enabled() or get_option('client').enabled()) +use_tuis = not is_windows and not is_android +use_tuis = use_tuis and ('cmsrv' in get_option('fruits') or 'cmc' in get_option('fruits')) +if use_tuis notcurses = dependency('notcurses', required: false, allow_fallback: false) notcurses_core = dependency('notcurses-core', required: false, allow_fallback: false) if not notcurses.found() or not notcurses_core.found() @@ -26,18 +26,6 @@ if use_tuis and (get_option('server').enabled() or get_option('client').enabled( endif endif -if get_option('server').enabled() - subdir('cmsrv') -endif - -if get_option('client').enabled() - subdir('cmc') -endif - -if get_option('sink').enabled() - if is_android - subdir('ctv') - else - subdir('cmv') - endif -endif +foreach fruit : get_option('fruits') + subdir(fruit) +endforeach -- cgit v1.2.3-101-g0448