MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0011001 | CMake | CMake | public | 2010-07-16 06:32 | 2016-06-10 14:31 |
| Reporter | bcmpinc | ||||
| Assigned To | Bill Hoffman | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-8 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0011001: CMake's find_library does not look in mingw's lib directory. | ||||
| Description | When using the find_library method when generating msys makefiles, CMake does not find libraries in mingw's default library directory. So if you have mingw installed in c:\mingw, then find_library(GLUT_LIBRARY glut) will return NOT_FOUND instead of "c:\mingw\lib\libglut.a". Possible workarounds: 1. add the line: string(REGEX REPLACE "/bin/.+" "/lib" CMAKE_LIBRARY_PATH "${CMAKE_CXX_COMPILER}") 2. add -lglut to the linker flags. (not portable) | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-07-16 06:32 | bcmpinc | New Issue | |||
| 2011-01-17 16:20 | David Cole | Assigned To | => Bill Hoffman | ||
| 2011-01-17 16:20 | David Cole | Status | new => assigned | ||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0041729 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | assigned => resolved | ||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||