Commit 2a5cd10
committed
build: mark BTAS as SYSTEM include
GitLab CI (gcc-14, CUDA cell) failed compiling examples/demo with
TA_WERROR=ON because btas/generic/converge_class.h trips -Wreturn-type
on two non-void members lacking a return statement — upstream BTAS bug
TA can't fix.
Mirror the range-v3 carve-out: set INTERFACE_SYSTEM_INCLUDE_DIRECTORIES
on the BTAS target so its headers are consumed via -isystem, taking
them out of -Werror scope. Resolve through ALIASED_TARGET first so it
works whether BTAS::BTAS is the imported target or an in-tree alias.1 parent 971d407 commit 2a5cd10
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
0 commit comments