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

Update dependency check in RmlUiConfig #721

Merged
merged 1 commit into from
Jan 15, 2025
Merged

Conversation

mpersano
Copy link
Contributor

@mpersano mpersano commented Jan 14, 2025

An extra parameter was added to the report_dependency_found_or_error macro in Utilities.cmake, but RmlUiConfig wasn't updated.

As a result, find_package(RmlUi) fails because it can't find Freetype (since it looks for the Freetype target, not Freetype::Freetype).

@mpersano mpersano force-pushed the master branch 2 times, most recently from fcfe493 to 39b69cc Compare January 14, 2025 22:28
An extra parameter was added to the report_dependency_found_or_error
macro in Utilities.cmake, but RmlUiConfig wasn't updated.

As a result, find_package(RmlUi) fails because it can't find FreeType
(since it looks for the Freetype target, not Freetype::Freetype).
@mikke89 mikke89 added the build Build system and compilation label Jan 15, 2025
@mikke89 mikke89 merged commit ebd72ce into mikke89:master Jan 15, 2025
32 checks passed
@mikke89
Copy link
Owner

mikke89 commented Jan 15, 2025

This is great, thanks a lot!

I forgot to update this one indeed. This reminds me, I actually have a local script for testing various installation methods and consuming the library, and it did indeed catch this when testing just now. I should try to find some time to add that to the CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build system and compilation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants