mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-05-28 00:30:23 -04:00
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:
parent
a531978e2a
commit
2c4e678664
@ -62,7 +62,7 @@ set_package_properties(libavif PROPERTIES
|
|||||||
PURPOSE "Required for the QImage plugin for AVIF images"
|
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)
|
if(KIMAGEFORMATS_HEIF)
|
||||||
pkg_check_modules(LibHeif IMPORTED_TARGET libheif>=1.10.0)
|
pkg_check_modules(LibHeif IMPORTED_TARGET libheif>=1.10.0)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user