FindPNG: Create an imported PNG::PNG target (#15911)

Imported targets are now the recommended way of dealing with external
library dependencies.  Add one for FindPNG and update documentation
accordingly.  Also add a test case activated by CMake_TEST_FindPNG.
This commit is contained in:
Sam Thursfield
2016-01-19 17:43:05 +00:00
committed by Brad King
parent c13ed96401
commit 9b08c62330
6 changed files with 97 additions and 7 deletions
@@ -0,0 +1,4 @@
FindPNG-imported-targets
------------------------
* The :module:`FindPNG` module now provides imported targets.