Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve msdfgenConfig.cmake behavior with extensions #216

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

RiscadoA
Copy link

@RiscadoA RiscadoA commented Dec 1, 2024

Currently even if MSDFGEN_DISABLE_PNG and/or MSDFGEN_DISABLE_SVG are set to ON, the generated msdfgenConfig.cmake file will call find_dependency(... REQUIRED) on tinyxml2 and PNG. This breaks installations with those settings set to ON.

Additionally, find_dependency(Freetype) might only export Freetype::Freetype, while the library requires freetype. Thus, I changed it to add an alias for freetype when it isn't already present.

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.

1 participant