Describe the bug
Even when setting architecture to x86 in CMakePresets.json, /machine:x64 is passed to lld-link, causing linking to fail.
After trying various combinations of environment/cache variables and configuration options I've been unable to force the linker to work in x86 mode.
Describe the bug Even when setting architecture to x86 in
CMakePresets.json
,/machine:x64
is passed tolld-link
, causing linking to fail.After trying various combinations of environment/cache variables and configuration options I've been unable to force the linker to work in x86 mode.
Additional context https://gitlab.kitware.com/cmake/cmake/-/issues/16259