[CMake] Wrong version of cl.exe for x64
Nils Gladitz
nilsgladitz at gmail.com
Mon Aug 22 13:55:12 EDT 2016
On 22.08.2016 19:34, Albrecht Schlosser wrote:
>
> So, the conclusion is: since CMake can't figure it out we have to
> _assume_ that the header files can be #included in MSVC projects
> (MinGW works well), hence we should set the corresponding CMake
> variable to true, maybe something like:
>
> if (MSVC)
> set (HAVE_GL_GL_H 1)
> endif (MSVC)
>
> Is this what you suggest?
I suppose I'd go with if(WIN32).
Nils
More information about the CMake
mailing list