View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010031CMakeModulespublic2009-12-11 09:502011-05-02 14:46
ReporterGerald Hofmann 
Assigned ToDavid Cole 
PrioritynormalSeveritytrivialReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.4Fixed in VersionCMake 2.8.4 
Summary0010031: Search freeglut additionally in FindGLUT
DescriptionAdd library alias name freeglut.dll when searching glut libs on win. Header file names are compatible to glut package.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0021912)
Thomas Sondergaard (reporter)
2010-08-24 05:57

This is trivially fixed by adding freeglut to the list of library names.

--- CMake 2.8/share/cmake-2.8/Modules/FindGLUT.cmake 2010-08-24 10:24:19.115486300 +0200
+++ FindGLUT.cmake 2010-08-24 11:54:30.181627400 +0200
@@ -23,7 +23,7 @@
 IF (WIN32)
   FIND_PATH( GLUT_INCLUDE_DIR NAMES GL/glut.h
     PATHS ${GLUT_ROOT_PATH}/include )
- FIND_LIBRARY( GLUT_glut_LIBRARY NAMES glut glut32
+ FIND_LIBRARY( GLUT_glut_LIBRARY NAMES glut glut32 freeglut
     PATHS
     ${OPENGL_LIBRARY_DIR}
     ${GLUT_ROOT_PATH}/Release
(0024788)
David Cole (manager)
2011-01-17 14:21

Fix pushed to CMake 'next' just now:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=efd1d9c7994468b0d45a7752aa86d1e32c59a6cf [^]
(0024789)
David Cole (manager)
2011-01-17 14:22

Fixed in the 'next' branch of CMake.
(0026383)
David Cole (manager)
2011-05-02 14:46

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2009-12-11 09:50 Gerald Hofmann New Issue
2010-08-24 05:57 Thomas Sondergaard Note Added: 0021912
2011-01-17 14:21 David Cole Note Added: 0024788
2011-01-17 14:21 David Cole Assigned To => David Cole
2011-01-17 14:21 David Cole Status new => assigned
2011-01-17 14:22 David Cole Note Added: 0024789
2011-01-17 14:22 David Cole Status assigned => resolved
2011-01-17 14:22 David Cole Resolution open => fixed
2011-01-31 16:11 David Cole Fixed in Version => CMake 2.8.4
2011-01-31 16:11 David Cole Target Version => CMake 2.8.4
2011-05-02 14:46 David Cole Note Added: 0026383
2011-05-02 14:46 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team