SDL_image: upgrade vendored libjxl to 0.7.2 (fbdcd)

From fbdcd3ee4ea85f64d56c9d514a81e43b056472b3 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 28 Jan 2025 02:35:02 +0300
Subject: [PATCH] upgrade vendored libjxl to 0.7.2

(cherry picked from commit 8ed4bbf278cf2bdf677cf049138bf667fcc11832)
---
 .gitmodules     | 2 +-
 CMakeLists.txt  | 2 +-
 external/libjxl | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitmodules b/.gitmodules
index 194b6afc..70d4d76c 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -21,7 +21,7 @@
 [submodule "external/libjxl"]
 	path = external/libjxl
 	url = https://github.com/libsdl-org/libjxl.git
-	branch = v0.6.1-SDL
+	branch = v0.7.2-SDL
 [submodule "external/libavif"]
 	path = external/libavif
 	url = https://github.com/libsdl-org/libavif.git
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8fea2e4a..e12d7eeb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -515,7 +515,7 @@ if(SDL2IMAGE_JXL)
             endif()
         else()
             set(jxl_lib jxl_dec-static)
-            list(APPEND INSTALL_EXTRA_TARGETS brotlidec-static brotlicommon-static hwy ${jxl_lib})
+            list(APPEND INSTALL_EXTRA_TARGETS brotlidec brotlicommon hwy ${jxl_lib})
         endif()
         set_target_properties(${jxl_lib} PROPERTIES EXPORT_NAME external_libjxl)
         add_library(SDL2_image::external_libjxl ALIAS ${jxl_lib})
diff --git a/external/libjxl b/external/libjxl
index 05994397..e867199d 160000
--- a/external/libjxl
+++ b/external/libjxl
@@ -1 +1 @@
-Subproject commit 059943974d5ad102407acb6adc28486b23ee785b
+Subproject commit e867199d0a53bc6e8971a2d7316db547e07e2a8c