Cmake not finding Visual Studios 2012 in Generators list

后端 未结 1 1325
梦毁少年i
梦毁少年i 2021-01-17 20:28

I\'m trying to run through the Firebreath tutorial, but I cannot get Cmake to work. Cmake does not register any version of Visual Studios under the Generators l

相关标签:
1条回答
  • 2021-01-17 20:55

    The problem is you are using the cmake that is included in cygwin instead of the windows version of cmake. It appears that the current cygwin version is compiled without the generators for Visual Studio while the windows version has these.

    In your case a simple way to get windows to use the windows version of cmake is to uninstall the cygwin cmake since it does not appear that you need that anyways.

    An alternate method would have been adjusting your system path so that c:\cygwin\bin is after C:\Program Files (x86)\CMake 2.8\bin.

    0 讨论(0)
提交回复
热议问题