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

CMakeDeps: Variables for merged global target, even when only components #11874

Merged
merged 1 commit into from Aug 16, 2022

Conversation

lasote
Copy link
Contributor

@lasote lasote commented Aug 16, 2022

Changelog: Fix: CMakeDeps now generates CMake variables as XXX_INCLUDE_DIR in the XXXX-data.cmake for the global cpp_info even if components are declared in the recipe. It is obtained by merging the components cpp_info into a global one.
Docs: omit

Closes: #11862

@lasote lasote added this to the 1.51.3 milestone Aug 16, 2022
@lasote lasote requested review from jcar87 and czoido August 16, 2022 08:18
Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is really a pity that we cannot move forward to better cmake practices to support that legacy usage, but I guess it is necessary...

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.

None yet

4 participants