mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Remove WLR_HAS_XCB_ERRORS
wlroots' dependency on this library doesn't change the features exposed to compositors. It's purely a wlroots implementation detail. Thus downstream compositors shouldn't really care about it. Introduce an "internal_features" dictionary to store the status of such internal dependencies.
This commit is contained in:
parent
78befa59f9
commit
1eb38e0015
7 changed files with 26 additions and 20 deletions
|
|
@ -56,10 +56,9 @@ foreach lib, desc : xwayland_optional
|
|||
required: get_option(lib),
|
||||
not_found_message: '\n'.join(msg).format(lib),
|
||||
)
|
||||
if dep.found()
|
||||
xwayland_libs += dep
|
||||
features += { lib: true }
|
||||
endif
|
||||
|
||||
internal_features += { lib: dep.found() }
|
||||
xwayland_libs += dep
|
||||
endforeach
|
||||
|
||||
wlr_files += files(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue