I'm trying to build the OpenGL library GLFW3 according to this tutorial. CMake builds a lib in ./src/Debug
, but when I try to link it, VS2017 complains:
Error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'
I'm aware that changing the VS-compiler from x64 to Win32 solves the issue, but I need to build a 64-bit-version.
So is there any way to tell CMake to build a 64-version?