View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013914 | CMake | CMake | public | 2013-02-13 12:30 | 2016-06-10 14:31 | ||||
Reporter | Stephan Meister | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 2.8.10.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013914: Cannot define debug/optimized versions for JPEG_LIBRARY in FindJPEG.cmake module | ||||||||
Description | The JPEG_LIBRARY variable defined by the FindJPEG.cmake module can not hold multiple versions of the library path. E.g. setting it to "optimized;/somewhere/optimized.lib;debug;/somewhere/debug.lib" which is supported in other find modules like FindPNG etc. an error gets produced. | ||||||||
Steps To Reproduce | 1. Open a Project which uses FindJPEG.cmake 2. In cmake-gui set JPEG_LIBRARY to "optimized;<release lib path>;debug;<debug lib path>" 3. hit configure | ||||||||
Additional Information | This is mostly relevant on windows platforms where library paths are not automatically resolved. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0032264) Brad King (manager) 2013-02-13 13:12 |
The JPEG_LIBRARY cache entry is meant to hold only a single path to a library file. Putting a list in it is a hack. Only the non-cached JPEG_LIBRARIES result variable should be a list, but that is not directly settable by the user. The module should instead provide a separate "JPEG_LIBRARY_DEBUG" cache entry. If both JPEG_LIBRARY and JPEG_LIBRARY_DEBUG are set then the module should put both in the JPEG_LIBRARIES list with optimized/debug keywords. FindQt4 does something similar for example. Module updates require a maintainer to follow through on them: http://www.cmake.org/Wiki/CMake:Module_Maintainers [^] currently there is no maintainer for this module. |
(0042223) Kitware Robot (administrator) 2016-06-10 14:28 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-02-13 12:30 | Stephan Meister | New Issue | |
2013-02-13 13:12 | Brad King | Note Added: 0032264 | |
2016-06-10 14:28 | Kitware Robot | Note Added: 0042223 | |
2016-06-10 14:28 | Kitware Robot | Status | new => resolved |
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |