Skip to content

Commit

Permalink
[CMake] Fix pkg-config name of JPEGXL
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=259198

Reviewed by Carlos Alberto Lopez Perez and Adrian Perez de Castro.

This is the correct pkg-config name:

https://github.com/libjxl/libjxl/blob/main/lib/jxl/libjxl.pc.in

* Source/cmake/FindJPEGXL.cmake:

Canonical link: https://commits.webkit.org/266046@main
  • Loading branch information
TingPing committed Jul 13, 2023
1 parent 3b3a755 commit 5ee2be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/cmake/FindJPEGXL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ This will define the following variables in your project:

find_package(PkgConfig QUIET)
if (PkgConfig_FOUND)
pkg_check_modules(PC_JPEGXL QUIET jxl)
pkg_check_modules(PC_JPEGXL QUIET libjxl)
set(JPEGXL_COMPILE_OPTIONS ${PC_JPEGXL_CFLAGS_OTHER})
set(JPEGXL_VERSION ${PC_JPEGXL_VERSION})
endif ()
Expand Down

0 comments on commit 5ee2be5

Please sign in to comment.