Commit graph

3 commits

Author SHA1 Message Date
Eric Long
bc503b3206 Lock stb to last revision with stb_image_resize.h
Newer revisions of nothings/stb have switched to stb_image_resize2.h and
moved the original header to deprecated/stb_image_resize.h since [1].
Pin down the version to prevent future breaking changes.

[1]: c4bbb6e75f
2023-10-11 15:54:50 +02:00
Simon Ser
14c4b70419 build: clone stb with depth=1
We don't need to fetch full Git history.
2021-09-16 12:07:53 +02:00
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