Commit c6f2e4a
committed
CMake: Disable COMDAT folding on MSVC
State checks can break on MSVC because Player_State_Static and
Player_State_TransportTube (maybe more) are empty and are therefore
identical and can be merged.
While GCC/Clang knows not to merge both since their addresses are being
referenced in the code, but MSVC thinks it's a smart optimization to do...
Fixes #303.1 parent 8795c5a commit c6f2e4a
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
0 commit comments