summaryrefslogtreecommitdiff
path: root/src/fruits/meson.build
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-07-10 14:04:29 -0400
committerAndrew Opalach <andrew@akon.city> 2026-07-10 14:04:29 -0400
commit566c022572bbff8bb7ff105b9adbe74500b2c716 (patch)
tree6cc0942bdfcdcbf3b1df52c8436d1b0ea5f88c52 /src/fruits/meson.build
parentc60363d4652ff60826b29a2e75f53a78df0f44cb (diff)
downloadcamu-566c022572bbff8bb7ff105b9adbe74500b2c716.tar.gz
camu-566c022572bbff8bb7ff105b9adbe74500b2c716.tar.bz2
camu-566c022572bbff8bb7ff105b9adbe74500b2c716.zip
Build fixes, get LTO+Os working on Windows
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/fruits/meson.build')
-rw-r--r--src/fruits/meson.build9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/fruits/meson.build b/src/fruits/meson.build
index c82d71d..f53a653 100644
--- a/src/fruits/meson.build
+++ b/src/fruits/meson.build
@@ -1,7 +1,4 @@
-use_tuis = true
-if is_windows
- use_tuis = false
-endif
+use_tuis = not is_windows
if use_tuis and (get_option('server').enabled() or get_option('client').enabled())
notcurses = dependency('notcurses', required: false, allow_fallback: false)
@@ -29,11 +26,11 @@ if use_tuis and (get_option('server').enabled() or get_option('client').enabled(
endif
endif
-if get_option('server').enabled() and not is_windows
+if get_option('server').enabled()
subdir('cmsrv')
endif
-if get_option('client').enabled() and not is_windows
+if get_option('client').enabled()
subdir('cmc')
endif