[cmake-developers] FindZLIB module should find debug and, release variants

Brad King brad.king at kitware.com
Mon Aug 31 13:36:08 EDT 2015


On 08/28/2015 05:37 PM, Michael Scott wrote:
> Okay, I've modified the patch to only add the DEBUG and RELEASE 
> configurations when the corresponding library is found, and not set the 
> generic IMPORTED_LOCATION property at all.

Thanks.  We also need to be compatible with projects or scripts that
set ZLIB_LIBRARY themselves.  See how FindTIFF did that here:

 FindTIFF: Find debug and release libraries separately
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=724fa682

Sorry I didn't notice this on the last review.

Thanks,
-Brad



More information about the cmake-developers mailing list