AboutThisBuild: Distinguish JXL unavailable and disabled

This commit is contained in:
xiota 2024-05-27 21:01:59 +00:00
parent 40f9eefabe
commit e817246452
2 changed files with 6 additions and 3 deletions

View File

@ -6,9 +6,9 @@ Compiler: ${COMPILER_INFO}
Processor: ${PROC_LABEL}
System: ${SYSTEM}
Bit depth: ${PROC_BIT_DEPTH}
Gtkmm: V${GTKMM_VERSION}
Lensfun: V${LENSFUN_VERSION}
libjxl: V${JXL_VERSION}
Gtkmm: ${GTKMM_VERSION}
Lensfun: ${LENSFUN_VERSION}
libjxl: ${JXL_VERSION}
Build type: ${BUILD_TYPE}
Build flags: ${CXX_FLAGS}
Link flags: ${LFLAGS}

View File

@ -569,11 +569,14 @@ if(JXL_FOUND)
list(APPEND JXL_LIBRARIES ${JXLTHREADS_LIBRARIES})
else()
message(STATUS " JXL support disabled by WITH_JXL = ${WITH_JXL}")
set(JXL_VERSION "Disabled")
set(JXL_INCLUDE_DIRS "")
set(JXL_LIBRARIES "")
set(JXLTHREADS_INCLUDE_DIRS "")
set(JXLTHREADS_LIBRARIES "")
endif()
else()
set(JXL_VERSION "Not installed")
endif()
# Check for libcanberra-gtk3 (sound events on Linux):