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

Brad King brad.king at kitware.com
Mon Aug 24 11:31:29 EDT 2015


On 08/23/2015 04:41 PM, Michael Scott wrote:
> Okay no problem, I've changed the patch to use 
> SelectLibraryConfigurations instead. I've also changed the last bit of 
> the patch, to set the "IMPORTED_CONFIGURATIONS" target property as well 
> when there's debug and release variants, to be consistent with other 
> Find modules. Let me know if this shouldn't be done in this situation.

Please add each of the _DEBUG and _RELEASE configurations if and
only if the corresponding variables are set.  Grep for mention of
IMPORTED_CONFIGURATIONS in other Modules/Find*.cmake files for
examples.

Thanks,
-Brad


P.S.  Your mailer is breaking threads.



More information about the cmake-developers mailing list