Skip to content

FindFreetype: Revert use of upstream freetype cmake package

The upstream freetype cmake package uses generator expressions and imported target to express its dependencies. That's fine on its own. However, our use of it since !8775 (merged) causes the FREETYPE_LIBRARIES result variable to reference those imported targets and create a package-level dependency for clients that did not exist previously. Revert that change for now, along with its follow-up fixes. Further investigation will be needed to solve the motivating use case another way.

Fixes: #25635 (closed)
Backport: release

Merge request reports