我安装了Visual Studio 2015社区。我想使用cmake使用Visual Studio C ++编译器进行编译。
运行cmake命令时,出现此错误:
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:5 (project):
No CMAKE_C_COMPILER could be found.
如何具体说明VC ++编译器的路径?