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
config-debug
wayland-*-protocol.*
/subprojects/wlroots

View File

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