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

Open
wants to merge 1 commit into
base: main
Choose a base branch
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants