Skip to content

Commit 80af26f

Browse files
committed
Disable sjpeg and openexr support of vendored libjxl
(cherry picked from commit 5df4a32)
1 parent f1e4fff commit 80af26f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,12 @@ if(SDL2IMAGE_JXL)
547547
set(BUILD_TESTING OFF CACHE BOOL "build testing" FORCE)
548548
# JPEGXL_ENABLE_TOOLS variable is used by libjxl
549549
set(JPEGXL_ENABLE_JNI OFF CACHE BOOL "build jpegxl jni" FORCE)
550+
# JPEGXL_ENABLE_SJPEG variable is used by libjxl
551+
set(JPEGXL_ENABLE_SJPEG OFF CACHE BOOL "build jpegxl sjpeg" FORCE)
552+
# JPEGXL_BUNDLE_SKCMS variable is used by libjxl
553+
set(JPEGXL_BUNDLE_SKCMS OFF CACHE BOOL "build jpegxl bundle sjpeg" FORCE)
554+
# JPEGXL_ENABLE_OPENEXR variable is used by libjxl
555+
set(JPEGXL_ENABLE_OPENEXR OFF CACHE BOOL "build jpegxl openxr" FORCE)
550556
# JPEGXL_ENABLE_MANPAGES variable is used by libjxl
551557
set(JPEGXL_ENABLE_MANPAGES OFF CACHE BOOL "libjxl manpage option" FORCE)
552558
# JPEGXL_ENABLE_PLUGINS variable is used by libjxl

0 commit comments

Comments
 (0)