MantisBT - CMake
View Issue Details
0013914CMakeCMakepublic2013-02-13 12:302016-06-10 14:31
Stephan Meister 
Kitware Robot 
lowminoralways
closedmoved 
CMake 2.8.10.2 
 
0013914: Cannot define debug/optimized versions for JPEG_LIBRARY in FindJPEG.cmake module
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.
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
This is mostly relevant on windows platforms where library paths are not automatically resolved.
No tags attached.
Issue History
2013-02-13 12:30Stephan MeisterNew Issue
2013-02-13 13:12Brad KingNote Added: 0032264
2016-06-10 14:28Kitware RobotNote Added: 0042223
2016-06-10 14:28Kitware RobotStatusnew => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0032264)
Brad King   
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   
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.