When generating VS2017 project files using -T v120 parameter it fail to find compiler
Running CMake GUI configuring CMake with -T v120 and generator Visual Studio 15 2017 Win64 I get problem with CMake not finding C/CXX compiler:
The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.
Configuring incomplete, errors occurred!
See also "C:/code/build/MSVC2017_x64/gass/CMakeFiles/CMakeOutput.log".
See also "C:/code/build/MSVC2017_x64/gass/CMakeFiles/CMakeError.log".
Log files attached.
Generating both VS 12 2013 Win64 as well as VS 15 2017 Win64 with default toolset works just fine.