kdrive: move ephyr build option check into kdrive's meson.build

As more kdrive-based servers are coming, it's time to refactor the meson
structure a little bit, so all kdrive specific logic is in its own subdir.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-07-23 16:28:53 +02:00
committed by Enrico Weigelt
parent 76b1f47179
commit ead8331996
3 changed files with 11 additions and 6 deletions

View File

@@ -1,2 +1,10 @@
subdir('src')
subdir('ephyr')
build_xephyr = get_option('xephyr')
build_kdrive = build_xephyr
if build_kdrive
subdir('src')
endif
if build_xephyr
subdir('ephyr')
endif

View File

@@ -1,6 +1,4 @@
if build_xephyr
subdir('kdrive')
endif
subdir('kdrive')
if build_xvfb
subdir('vfb')

View File

@@ -240,7 +240,6 @@ if build_xquartz
build_rootless = true
endif
build_xephyr = get_option('xephyr')
build_xvfb = get_option('xvfb')
summary({