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

CMake package should add the modules to CMAKE_MODULE_PATH #850

Closed
wants to merge 1 commit into from

Conversation

r-burns
Copy link

@r-burns r-burns commented Oct 8, 2021

(This is the same as #587, but rebased and reissued against the new main branch)

Right now aws-c-event-stream needs a lot of boilerplate code to determine the modules installation path while the aws-c-common package should provide it.
This would fix awslabs/aws-c-event-stream#15 simply by moving find_package(aws-c-common) before the various module includes
Using configure_package_config_file makes it easier to have a relocatable package.

Issue #, if available:

Closes #844

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Right now aws-c-event-stream needs a lot of boilerplate code to determine the modules installation path while the aws-c-common package should provide it.
This would fix awslabs/aws-c-event-stream#15 simply by moving `find_package(aws-c-common)` before the various module `include`s
Using `configure_package_config_file` makes it easier to have a relocatable package.
@graebm
Copy link
Contributor

graebm commented Dec 23, 2024

Thanks for this great suggestion. Closing this PR to take care of it in a newer one here (along with a bunch of other little fixes): #1178

@graebm graebm closed this Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants