From 145d360b9ba62cb918563c034eb1218956db61d5 Mon Sep 17 00:00:00 2001 From: Alsey Coleman Miller Date: Mon, 19 Oct 2026 22:48:10 +0200 Subject: [PATCH] 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 [Thomas: extracted from https://patchwork.buildroot.org/project/buildroot/patch/20260816191830.533747-5-alseycmiller@gmail.com/] Signed-off-by: Thomas Petazzoni --- package/sdl3_image/sdl3_image.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/sdl3_image/sdl3_image.mk b/package/sdl3_image/sdl3_image.mk index 405533b1a1..954bc3e67a 100644 --- a/package/sdl3_image/sdl3_image.mk +++ b/package/sdl3_image/sdl3_image.mk @@ -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.