Skip to content

Commit 6d57ef1

Browse files
authored
Merge pull request #4012 from conan-io/release/2.13
Sync develop2
2 parents 10e5e66 + e7f0f77 commit 6d57ef1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/conanfile/package_info/components.rst

+4
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ There are a couple of relevant things:
116116
tutorial we will set the component target names just with the component names omitting
117117
the ``::``.
118118

119+
- When ``cpp_info`` has global build information (e.g. ``cpp_info.defines``), it does not inherit
120+
to the components. If you want to share this information with the components, you need to set it
121+
explicitly for each component.
122+
119123
You can have a look at the consumer part by checking the *test_package* folder. First the
120124
*conanfile.py*:
121125

0 commit comments

Comments
 (0)