Add ability to import JXL images

This commit is contained in:
xiota
2021-09-21 22:19:27 -07:00
parent 11240bc97d
commit dfc82c403c
12 changed files with 218 additions and 8 deletions

View File

@@ -552,6 +552,11 @@ if(WITH_SYSTEM_KLT)
find_package(KLT REQUIRED)
endif()
pkg_check_modules(JXL IMPORTED_TARGET libjxl libjxl_threads)
if(JXL)
set(JXL_LIBRARIES jxl jxl_threads)
endif()
# Check for libcanberra-gtk3 (sound events on Linux):
if(UNIX AND (NOT APPLE))
option(USE_LIBCANBERRA "Build with libcanberra" ON)