package/sdl3_image: fail if dependencies are not found

Now that all optional image formats that are enabled by default are
handled explicitly, we can set SDLIMAGE_STRICT=ON to request
sdl3_image's CMake logic to fail if a dependency isn't found instead
of silently skipping them.

Signed-off-by: Alsey Coleman Miller <alseycmiller@gmail.com>
[Thomas: extracted from https://patchwork.buildroot.org/project/buildroot/patch/20260816191830.533747-5-alseycmiller@gmail.com/]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Alsey Coleman Miller
2026-10-19 22:48:10 +02:00
committed by Thomas Petazzoni
parent 396e388f83
commit 145d360b9b

View File

@@ -19,7 +19,8 @@ SDL3_IMAGE_CONF_OPTS = \
-DSDLIMAGE_DEPS_SHARED=OFF \
-DSDLIMAGE_SAMPLES=OFF \
-DSDLIMAGE_TESTS=OFF \
-DSDLIMAGE_INSTALL_MAN=OFF
-DSDLIMAGE_INSTALL_MAN=OFF \
-DSDLIMAGE_STRICT=ON
# Without jpeg, JPEG support falls back to the bundled stb_image
# decoder rather than being dropped.