mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-13 05:34:19 -04:00
build: drop xwayland option
This is unnecessary because Xwayland logic doesn't bring in new dependencies. We can just compile in our Xwayland-related code when wlroots has been built with Xwayland support. See this Sway patch: https://github.com/swaywm/sway/pull/8165
This commit is contained in:
parent
e7d8780f46
commit
d3fb99d665
4 changed files with 7 additions and 18 deletions
10
meson.build
10
meson.build
|
|
@ -64,15 +64,7 @@ server_protos = declare_dependency(
|
|||
sources: server_protos_headers,
|
||||
)
|
||||
|
||||
if not get_option('xwayland').disabled()
|
||||
wlroots_has_xwayland = wlroots.get_variable(pkgconfig: 'have_xwayland', internal: 'have_xwayland') == 'true'
|
||||
if get_option('xwayland').enabled() and not wlroots_has_xwayland
|
||||
error('Cannot build Cage with XWayland support: wlroots has been built without it')
|
||||
endif
|
||||
have_xwayland = true
|
||||
else
|
||||
have_xwayland = false
|
||||
endif
|
||||
have_xwayland = wlroots.get_variable(pkgconfig: 'have_xwayland', internal: 'have_xwayland') == 'true'
|
||||
|
||||
version = '@0@'.format(meson.project_version())
|
||||
git = find_program('git', native: true, required: false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue