meson: allow wlroots to be a subproject

This commit is contained in:
emersion 2018-03-12 12:21:46 +01:00
parent 3035db74df
commit bb173672ae
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -8,3 +8,4 @@ build/
.lvimrc .lvimrc
config-debug config-debug
wayland-*-protocol.* wayland-*-protocol.*
/subprojects/wlroots

View file

@ -21,7 +21,7 @@ prefix = get_option('prefix')
jsonc = dependency('json-c', version: '>=0.13') jsonc = dependency('json-c', version: '>=0.13')
pcre = dependency('libpcre') pcre = dependency('libpcre')
wlroots = dependency('wlroots') wlroots = dependency('wlroots', fallback: ['wlroots', 'wlroots'])
wayland_server = dependency('wayland-server') wayland_server = dependency('wayland-server')
wayland_client = dependency('wayland-client') wayland_client = dependency('wayland-client')
wayland_egl = dependency('wayland-egl') wayland_egl = dependency('wayland-egl')