Commit 015e95f
committed
Merge #110: cmake: add target_capnp_sources headers target
66e12f1 cmake: add target_capnp_sources headers target (Ryan Ofsky)
Pull request description:
Modify target_capnp_sources function to create a custom cmake target depending on generated capnp headers, that can be listed as an explicit dependency of other c++ targets when cmake's implicit dependency tracking for included files doesn't work.
This might help fix the build problem encountered bitcoin/bitcoin#30510 (comment)
ACKs for top commit:
TheCharlatan:
lgtm ACK 66e12f1
Tree-SHA512: e21cc3c58bf14af2c418f0c50af72f514c4a9358591dc9b63cfa5cec72f658d196fff15d94c9097bc552ee0443b8fcefcb4f99bbad89fe04393955892cdfb0941 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| 81 | + | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| |||
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
94 | 104 | | |
0 commit comments