[cmake-developers] [CMake 0013914]: Cannot define debug/optimized versions for JPEG_LIBRARY in FindJPEG.cmake module

Mantis Bug Tracker mantis at public.kitware.com
Wed Feb 13 12:30:43 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13914 
====================================================================== 
Reported By:                Stephan Meister
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13914
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   low
Status:                     new
====================================================================== 
Date Submitted:             2013-02-13 12:30 EST
Last Modified:              2013-02-13 12:30 EST
====================================================================== 
Summary:                    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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-02-13 12:30 Stephan MeisterNew Issue                                    
======================================================================




More information about the cmake-developers mailing list