View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007437 | CMake | Modules | public | 2008-08-01 09:45 | 2008-10-01 13:31 | ||||
Reporter | Andrew Hunter | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | unable to reproduce | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0007437: FindGLUT.cmake does not work on *nix systems | ||||||||
Description | Currently FindGLUT.cmake does work on *nix systems. The FINDPATH() function incorectly adds a GL/ prefix on glut.h which is not needed when /usr/include/GL is searched. Also, FIND_LIBRARY() only searches /usr/openwin/lib which also breaks on *nix systems such as Ubuntu. I will get a patch made to fix these issues posted soon. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | FindGLUT-nix.patch [^] (1,133 bytes) 2008-08-01 10:14 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0012918) Andrew Hunter (reporter) 2008-08-01 10:15 |
Attached patch which fixes issue. Tested on Ubuntu Intrepid Ibex. |
(0013068) Bill Hoffman (manager) 2008-08-19 14:16 |
This stuff should automatically be searched by cmake: /usr/include + /usr/local/include /usr/lib + /usr/local/lib I think the only change you need is: - FIND_PATH( GLUT_INCLUDE_DIR GL/glut.h + FIND_PATH( GLUT_INCLUDE_DIR glut.h + PATH_SUFFIXES GL/ Can you verify that that works for you? Thanks. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-08-01 09:45 | Andrew Hunter | New Issue | |
2008-08-01 10:14 | Andrew Hunter | File Added: FindGLUT-nix.patch | |
2008-08-01 10:15 | Andrew Hunter | Note Added: 0012918 | |
2008-08-19 14:16 | Bill Hoffman | Note Added: 0013068 | |
2008-08-19 14:16 | Bill Hoffman | Status | new => assigned |
2008-08-19 14:16 | Bill Hoffman | Assigned To | => Bill Hoffman |
2008-10-01 13:31 | Bill Hoffman | Status | assigned => closed |
2008-10-01 13:31 | Bill Hoffman | Resolution | open => unable to reproduce |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |