Default to build heif support

Heif is now being widely used because of android and iphones
and it's not really nice to discover that even if I have the
library to handle heif, it's not compilling.
This commit is contained in:
Tomaz Canabrava 2024-12-09 16:05:24 +01:00
parent a531978e2a
commit 2c4e678664

View File

@ -62,7 +62,7 @@ set_package_properties(libavif PROPERTIES
PURPOSE "Required for the QImage plugin for AVIF images"
)
option(KIMAGEFORMATS_HEIF "Enable plugin for HEIF format" OFF)
option(KIMAGEFORMATS_HEIF "Enable plugin for HEIF format" ON)
if(KIMAGEFORMATS_HEIF)
pkg_check_modules(LibHeif IMPORTED_TARGET libheif>=1.10.0)
endif()