From bb173672ae1677967ebbe39facb432d06dccd884 Mon Sep 17 00:00:00 2001 From: emersion Date: Mon, 12 Mar 2018 12:21:46 +0100 Subject: [PATCH] meson: allow wlroots to be a subproject --- .gitignore | 1 + meson.build | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b6e56f7ab..f48e22e57 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ build/ .lvimrc config-debug wayland-*-protocol.* +/subprojects/wlroots diff --git a/meson.build b/meson.build index fc995c815..f27ac451b 100644 --- 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')