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

[question] documentation: missing required_components #26455

Open
1 task done
Nekto89 opened this issue Jan 23, 2025 · 1 comment
Open
1 task done

[question] documentation: missing required_components #26455

Nekto89 opened this issue Jan 23, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Nekto89
Copy link
Contributor

Nekto89 commented Jan 23, 2025

What is your question?

Hi,

I've discovered new property (for me) in nifti_clib recipe in CCI.
self.cpp_info.required_components = ["ZLIB::ZLIB"]

self.cpp_info.required_components += ["EXPAT::EXPAT"]

I couldn't find the description in documentation. I assume that it should be present somewhere in "package_info" description. https://docs.conan.io/2/reference/conanfile/methods/package_info.html#package-info

It seems to be using changed target names from CMake instead of conan components. Is it specific for CMake?
Is it something new/experimental?

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide
@memsharded memsharded self-assigned this Jan 23, 2025
@memsharded
Copy link
Member

It seems this is not public documented API, and as such, it shouldn't have been slipped in ConanCenter recipes.

Furthermore, it is a property, so the code in that recipe will crash, this needs to be fixed in the recipe, moving it to ConanCenter.

Thanks for reporting it @Nekto89 !!!

@memsharded memsharded transferred this issue from conan-io/conan Jan 23, 2025
@memsharded memsharded added the bug Something isn't working label Jan 23, 2025
@memsharded memsharded removed their assignment Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants