Commit fd2ff27
fix: Set CMAKE_MSVC_DEBUG_INFORMATION_FORMAT to Embedded for Windows
With CMP0141 NEW (added in sentry-native 0.13.5 for sccache support),
CMAKE_MSVC_DEBUG_INFORMATION_FORMAT takes precedence over /Z7 in the
compiler flags, defaulting to /Zi (external PDB). This causes LNK4099
warnings for consumers linking sentry-native.lib without the PDB.
See https://cmake.org/cmake/help/latest/policy/CMP0141.html
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ee49a58 commit fd2ff27
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
0 commit comments