The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=13050 ====================================================================== Reported By: Davide Barbieri Assigned To: ====================================================================== Project: CMake Issue ID: 13050 Category: Modules Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2012-03-18 04:41 EDT Last Modified: 2012-03-18 04:41 EDT ====================================================================== Summary: FindOpenGL not working on Cygwin Description: find_package(OpenGL) is not working on cygwin with cmake 2.8.7.
Probably, because in the newer versions of cmake you don't define WIN32 no more. But you still use it for FindOpenGL.cmake: IF (WIN32) IF (CYGWIN) FIND_PATH(OPENGL_INCLUDE_DIR GL/gl.h ) FIND_LIBRARY(OPENGL_gl_LIBRARY opengl32 ) FIND_LIBRARY(OPENGL_glu_LIBRARY glu32 ) ELSE (CYGWIN) ... using directly the find_library macro, it works.. Steps to Reproduce: find_package(OpenGL) ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-03-18 04:41 Davide BarbieriNew Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers