From 0fac0e760fed15a3273f22849171615827980d48 Mon Sep 17 00:00:00 2001 From: Martin Valgur Date: Tue, 24 Jun 2025 23:33:30 +0300 Subject: [PATCH] imgcodecs: fix a minor bug in CMake for JPEG-XL Remove a likely copy-paste error. --- modules/imgcodecs/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/imgcodecs/CMakeLists.txt b/modules/imgcodecs/CMakeLists.txt index 7f97dde391..c322645b20 100644 --- a/modules/imgcodecs/CMakeLists.txt +++ b/modules/imgcodecs/CMakeLists.txt @@ -23,11 +23,6 @@ if(HAVE_JPEG) list(APPEND GRFMT_LIBS ${JPEG_LIBRARIES}) endif() -if(HAVE_JPEGXL) - ocv_include_directories(${OPENJPEG_INCLUDE_DIRS}) - list(APPEND GRFMT_LIBS ${OPENJPEG_LIBRARIES}) -endif() - if(HAVE_WEBP) add_definitions(-DHAVE_WEBP) ocv_include_directories(${WEBP_INCLUDE_DIR})