| ... | ... | @@ -574,9 +574,12 @@ fn addCmakeCfgOptionsToExe( |
| 574 | 574 | }; |
| 575 | 575 | exe.linkSystemLibrary("unwind"); |
| 576 | 576 | }, |
| 577 | | .ios, .macos, .watchos, .tvos, .windows => { |
| 577 | .ios, .macos, .watchos, .tvos => { |
| 578 | 578 | exe.linkLibCpp(); |
| 579 | 579 | }, |
| 580 | .windows => { |
| 581 | if (exe.target.getAbi() != .msvc) exe.linkLibCpp(); |
| 582 | }, |
| 580 | 583 | .freebsd => { |
| 581 | 584 | if (static) { |
| 582 | 585 | try addCxxKnownPath(b, cfg, exe, b.fmt("libc++.{s}", .{lib_suffix}), null, need_cpp_includes); |