Commit 65c7048
committed
cmake: Suppress compiler warnings from capnproto headers
Tweak target_link_libraries calls to correctly declare dependencies on
capnproto libraries as public, so capnproto include directories get correctly
added to downstream targets. Without this, compiler warnings can be triggered
from capnproto headers because they are not treated like external headers.
Fixes #1381 parent 1e06ff0 commit 65c7048
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
0 commit comments