Commit b53aefd
Fix dependency cycle when build and source trees overlap
Guard the unsupported_args.cfg copy command with a path comparison so
that it is skipped when PROJECT_BINARY_DIR == PROJECT_SOURCE_DIR (or
the resolved paths otherwise collide). This avoids the ninja error
"dependency cycle: share/multiplier/unsupported_args.cfg -> ..." in
CI builds that reuse the source tree as the build tree.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent d18e707 commit b53aefd
1 file changed
Lines changed: 15 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
| |||
0 commit comments