Comments (2)
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.
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)
- [question] I am experminting with the patch feature and I want ask what is the standard way to do an extention that analyze the dependencies graph for the sake of validations on the binaries outside the standard analyze binaries method HOT 1
- [bug] when crossbuilding, CMakeToolchain does not set system name and processor variables if user toolchain is provided
- [question] Conan 1 and Conan 2 package coexistence in Artifactory? HOT 5
- Cannot cross-compile for Android NDK 19C HOT 2
- [not-bug] "conan list" prints letter Z instead of a last digit when printing dependency versions e.g. "zlib/1.3.Z" HOT 2
- [question] "recommended flow" for updating a dependency in a lockfile without pulling other dependencies? HOT 5
- [bug] Wrong paths to profiles in docker runner HOT 1
- [bug] conan inspect is not showing requirements HOT 4
- [question] How to validate Options of a Dependency Package in conan v1 HOT 10
- [question] Conan SSL Errors With Artifactory HOT 4
- [question] How to properly "evolve" lockfiles? HOT 12
- [question] Migrating custom generator + user_info to Conan 2.0 HOT 3
- [question] cpp_info in editable mode HOT 1
- Building Qt 6.5.3 fails using conan 2.1.0 and 2.5.0 HOT 5
- [question] Conan 'home' with CI/CD Runners HOT 3
- [question] How to access `package_folder` in an extension command with settings/profiles HOT 3
- [question] How to propagate options from cmake using conan_provider? HOT 1
- conan not working properly when using GNUInstallDirs HOT 3
- [question] combination of several conan configurations HOT 2
- [bug] building QT 6.5.3 under WSL2, conan builds/installs a "cmake" that fails to run. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conan.