[CMake] Wrong version of cl.exe for x64
Nils Gladitz
nilsgladitz at gmail.com
Mon Aug 22 04:01:24 EDT 2016
On 08/22/2016 09:27 AM, tonka tonka wrote:
> Hey,
>
> I have recently switched to cmake (instead of plain visual studio).
> Now i discovered a problem.cmake choose the wrong cl.exe for my x64
> project.
>
I don't think CMake chooses the compiler when using the visual studio
generators.
Visual Studio chooses and CMake just records that choice in
CMAKE_<LANG>_COMPILER.
Nils
More information about the CMake
mailing list