commit bb173672ae1677967ebbe39facb432d06dccd884
parent 3035db74df147aa5fe7252a626c8c767e5e30631
Author: emersion <contact@emersion.fr>
Date: Mon, 12 Mar 2018 12:21:46 +0100
meson: allow wlroots to be a subproject
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
@@ -8,3 +8,4 @@ build/
.lvimrc
config-debug
wayland-*-protocol.*
+/subprojects/wlroots
diff --git a/meson.build b/meson.build
@@ -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')