I had a CMakeLists with minimum required 3.3 and realised I should make that 3.15 as I used a feature from there under certain conditions.
I was surprised to see that this broke a Windows 32 bit build (not using the 3.15 feature by the way) with this message:
“MSVC_RUNTIME_LIBRARY value ‘MultiThreaded’ not known for this ASM compiler.”
If I for Windows and 32 bit builds enable ASM_MASM instead of plain ASM it works.
How come this happened and only for 32 bit (worked on 64)?
It might be worth noting I’m not setting the CMAKE_MSVC_RUNTIME_LIBRARY, instead have an old regex replace of /MD to /MT.
Just curious as this seems strange to a noob.