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

Export custom Find<Package>.cmake recipes when exporting config #76

Merged
merged 1 commit into from
Sep 23, 2023

Conversation

samangh
Copy link
Contributor

@samangh samangh commented Sep 8, 2023

On most systems Jansson and UV don't come with a Find<PackageName>.cmake or <PackageName>Config.cmake files, so in wampcc we are using custom find module recipes to find Jansson and UV.

However, at the moment these custom find recipes are not exported during a cmake install. This commit causes these custom find recipes to also be exported as part of an install. This way UV and Jansson are automatically found when a user does find_package(wampcc) in a CMake recipe.

On most systems Jansson and UV don't come with a
`Find<PackageName>.cmake` or `<PackageName>Config.cmake` files, so in
wampcc we are using custom find module recipes to find Jansson and UV.

This commit causes these custom find recipes to also be exported as part
of an install. This way UV and Jansson are automatically found when a
user does `find_package(wampcc)` in a CMake recipe.
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.

2 participants