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

Brad King brad.king at kitware.com
Thu Jan 21 14:00:29 EST 2016


On 01/21/2016 11:46 AM, Sam Thursfield wrote:
> Imported targets are now the recommended way of dealing with external
> library dependencies.

Thanks, re-applied and merged to 'next' for testing:

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

For reference, the net diff since v1 is just:

> - INTERFACE_LIBRARIES "${PNG_LIBRARIES}")
> + INTERFACE_LINK_LIBRARIES ZLIB::ZLIB)

Thanks,
-Brad



More information about the cmake-developers mailing list