1

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?

zx485
  • 28,498
  • 28
  • 50
  • 59
Q Stollen
  • 41
  • 5
  • Possible duplicate of [How to generate 64 bit Visual Studio project for LLVM using CMake?](https://stackoverflow.com/questions/47766836/how-to-generate-64-bit-visual-studio-project-for-llvm-using-cmake) – Tsyvarev Oct 17 '18 at 20:15

0 Answers0