[cmake-developers] [CMake 0014082]: FindZLIB.cmake does not find debug version of zlib library

Mantis Bug Tracker mantis at public.kitware.com
Mon Apr 15 05:20:00 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14082 
====================================================================== 
Reported By:                Jochen Wilhelmy
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14082
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-04-15 05:20 EDT
Last Modified:              2013-04-15 05:20 EDT
====================================================================== 
Summary:                    FindZLIB.cmake does not find debug version of zlib
library
Description: 
Only release library is found which produces linker warnings on windows

Steps to Reproduce: 
find_package(zlib)

Additional Information: 
A fixed FindZLIB.cmake is attached that searches for the debug version
separately and returns both in ZLIB_LIBRARIES, e.g. as
debug;zlibd.lib;optimized;zlib.lib

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-04-15 05:20 Jochen WilhelmyNew Issue                                    
2013-04-15 05:20 Jochen WilhelmyFile Added: FindZLIB.cmake                    
======================================================================




More information about the cmake-developers mailing list