Git Product home page Git Product logo

Comments (2)

AbrilRBS avatar AbrilRBS commented on August 19, 2024

Hi @Todiq thanks a lot for taking the time to open the report, and for creating a repro to share your use-case, it's really appreciated! :)

This would not be a bug, but expected behaviour from Conan. Requirements can specify how and what of its contents is propagated by using traits (docs here)
In this case, as alpha exposes rapidjson headers in its public api, its requirement clause should set the transitive_headers=True trait, like self.requires("rapidjson/cci.20230929", transitive_headers=True), which will tell Conan that this dependency's headers should be propagated downstream.

Let me know if any of this makes sense and helps with your issue, happy to answer further questions if not :)

from conan.

Todiq avatar Todiq commented on August 19, 2024

Thank you! That indeed works now.

My real project's tree is quite complex and it looked like this issue happened specifically with rapidjson.

It was actually because the downstream packages had direct dependencies to the other requirements, but not that one, hence the false hint.

Thanks a lot once again!

from conan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.