[cmake-developers] [PATCH] FindPNG: Create an imported PNG::PNG target

Brad King brad.king at kitware.com
Tue Jan 19 15:00:18 EST 2016


On 01/19/2016 12:43 PM, Sam Thursfield wrote:
> Imported targets are now the recommended way of dealing with external
> library dependencies.

Thanks!  Applied with minor doc format fixup and merged to 'next'
for testing:

 FindPNG: Create an imported PNG::PNG target (#15911)
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9451ea5a

> + INTERFACE_LIBRARIES "${PNG_LIBRARIES}")

Shouldn't this refer to zlib instead of png libraries again?

Thanks,
-Brad



More information about the cmake-developers mailing list