Commit 5eafe7d
Fix MSVC link: don't pass raw pthread to curcuma_core/curcuma_cap
MSVC has no pthread.lib (threads come from the CRT), so any executable linking
curcuma_core/curcuma_cap failed with LNK1181 "cannot open input file
'pthread.lib'" (seen on parallel_scf; qurcuma's own target would hit it next).
Guard the link item via CURCUMA_PTHREAD: empty on MSVC, 'pthread' elsewhere.
MinGW (winpthreads), Linux and macOS are unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 8a160b5 commit 5eafe7d
1 file changed
Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1244 | 1244 | | |
1245 | 1245 | | |
1246 | 1246 | | |
1247 | | - | |
1248 | | - | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
1249 | 1258 | | |
1250 | 1259 | | |
1251 | 1260 | | |
| |||
0 commit comments