AboutThisBuild: Make libjxl status strings less confusing

This commit is contained in:
xiota 2024-05-28 06:45:49 +00:00
parent e817246452
commit 5ea3a4b979

View File

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