The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15267 
====================================================================== 
Reported By:                Nils Gladitz
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15267
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-11-28 02:44 EST
Last Modified:              2014-11-28 02:44 EST
====================================================================== 
Summary:                    FindOpenGL.cmake imported targets are broken on
windows
Description: 
On window the OpenGL libraries are linked by library name rather than filename.
For visual studio OPENGL_gl_LIBRARY is for example set to "opengl32".

The IMPORTED_LOCATION of the imported target OpenGL::GL target is also set to
"opengl32". Since IMPORTED_LOCATION is expected to be a path this fails with
e.g. ninja at build time with:

ninja: error: 'opengl32', needed by 'bin\foobar.dll', missing and no known rule
to make it
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-11-28 02:44 Nils Gladitz   New Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to