Meson: Allow building as subproject
authorAdrian Perez de Castro <aperez@igalia.com>
Mon, 26 Apr 2021 14:27:01 +0000 (17:27 +0300)
committerRan Benita <ran@unusedvar.com>
Tue, 27 Apr 2021 06:54:58 +0000 (09:54 +0300)
commit4238417ba05152dfada978a4b7f9f7f7e12acd47
treee4e6ad1a42d36a80aa37136ac09f5eaf5dba0278
parent5cd76a8d934936115caf04f2aea1d713dc43b8e9
Meson: Allow building as subproject

Specify where to find the headers for libxkbcommon_dep,
libxkbcommon_x11_dep, and libxkbregistry_dep,  which allows other
projects to correctly locate the headers when libxkbcommon is being
built as a Meson subproject.

The dep_libxkbregistry variable is renamed to libxkbregistry_dep,
to follow the usual convention for variables which hold declared
dependencies to be used from subproject builds.
meson.build