Skip to content

Make bundled AOM optional for HEIF builds - #195

Merged
danoli3 merged 1 commit into
masterfrom
fix/optional-heif-aom
Oct 22, 2026
Merged

danoli3 merged 1 commit into
masterfrom
fix/optional-heif-aom

Conversation

@danoli3

@danoli3 danoli3 commented Oct 22, 2026

Copy link
Copy Markdown
Owner

Summary

A bundled BUILD_LIBHEIF=ON build always configures libaom for AV1. libaom 3.15.1 requires Perl to generate its RTCD sources; its missing-Git message is only a warning. Add FREEIMAGE_BUNDLE_AOM (default ON) so toolchains without Perl can omit AOM while retaining bundled HEIF/HEVC decode and encode. AVIF support is disabled when this option is OFF.

The HEIF tests skip AVIF fixtures only for this bundled no-AOM configuration and continue exercising HEIC paths.

Closes #187.

Validation

Configured and built with BUILD_LIBHEIF=ON, FREEIMAGE_BUNDLE_AOM=OFF, and bundled dependencies; CMake reported AVIF unavailable and HEIC available. All 12 CTest tests passed.

@danoli3
danoli3 merged commit f0834fe into master Oct 22, 2026
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3.19.25: Building dll containing LibHeif fails with CMake and GCC on Windows

1 participant