gamescope/subprojects/packagefiles/stb/meson.build
Joshua Ashton 2cea675db0 meta: Use wrap file for STB rather than submodule
Allows us to use this as a Meson subproject which means that recursive cloning doesn't matter (Meson resolves it for subprojects).

Given this subproject doesn't have a meson file, doing subproject() on it would fail, so:
Make a wrap file with an overlay that declares a proper dependency.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
2021-09-11 02:55:21 +02:00

8 lines
230 B
Meson

project('stb', 'c', version : '0.1.0', license : 'MIT')
stb_dep = declare_dependency(
include_directories : include_directories('.'),
version : meson.project_version()
)
meson.override_dependency('stb', stb_dep)