0

I'm running cmake in msys2, but it doesn't seem to find Visual Studio 2015 (missing generator option). I am launching the msys2 prompt from within Visual Studio Developer Command Prompt, so I have cl.exe, link.exe etc in the path.

This other question seems to be asking the same thing (however for Cygwin not msys2).

Community
  • 1
  • 1
Giovanni Funchal
  • 8,934
  • 13
  • 61
  • 110

1 Answers1

1

Talked to the msys2 devs on IRC, turns out I needed to install package mingw-w64-x86_64-cmake instead of cmake. Using that fixed the problem.

Giovanni Funchal
  • 8,934
  • 13
  • 61
  • 110
  • Another option is to supply `-DCMAKE_FIND_ROOT_PATH=/mingw64` and keep using /usr/bin/cmake . – mlt Mar 10 '16 at 08:47