View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013914CMakeCMakepublic2013-02-13 12:302016-06-10 14:31
ReporterStephan Meister 
Assigned ToKitware Robot 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0013914: Cannot define debug/optimized versions for JPEG_LIBRARY in FindJPEG.cmake module
DescriptionThe 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 Reproduce1. 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 InformationThis is mostly relevant on windows platforms where library paths are not automatically resolved.
TagsNo tags attached.
Attached Files

 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.

 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


Copyright © 2000 - 2018 MantisBT Team