Hi,

On Friday 19 October 2007 06:24, Gonzalo Garramuño wrote:
> I'm running FindOpenGL and FindGLUT on a mingw based compile, with MSYS
> Makefiles and CMAKE_CXX_COMPILER=g++.  That is, a standard GNU build.
>
> FindOpenGL and FindGLUT fail to find the microsoft opengl32.lib and dll
> and the corresponding glut lib.
>
> The problem is that WIN32 returns false.
> It is unclear whether to me whether this is correct behavior.  It seems
> like it shouldn't be being that CYGWIN returns true.

which values do CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_VERSION and CMAKE_SYSTEM 
have ?
CMake should load the file Platforms/Windows.cmake, which sets WIN32 to 1.

Alex
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to