
The command line for the linker that gets executed is:Ĭommand "C:\PROGRA~2\MIB055~1\2019\ENTERP~1\VC\Tools\MSVC\1425~1.286\bin\Hostx86\x86\link.exe /nologo /out:SimManager.exe /implib:SimManager.lib /pdb:E:\Projects\SimManager\Debug\SimManager.pdb /version:0.0 /machine:X86 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\SimManager.dir/intermediate.manifest CMakeFiles\SimManager.dir/manifest.res" failed (exit code 1112) with the following output: fatal error LNK1112: module machine type '圆4' conflicts with target machine type 'x86' I am using Select 圆4 Native Tools Command Prompt for VS 2017 I understand the way NMake chooses which compiler to use, x86 or 圆4, is by opening the appropriate console terminal.

The error I get is fatal error LNK1112: module machine type '圆4' conflicts with target machine type 'x86' My current CMakeLists.txt is very simple: cmake_minimum_required(VERSION 3.13.0) The current projects builds for both 圆4 and x86 I am converting a working project from Visual Studio to Cmake and building with NMake.
