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

2016-01-21 Thread Sam Thursfield
Imported targets are now the recommended way of dealing with external library dependencies. The documentation for FindPNG is rewritten slightly. This commit also adds a test case, you can run it like this: cmake ... -DCMake_TEST_FindPNG=ON ctest -R FindPNG --output-on-failure The

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

2016-01-21 Thread Sam Thursfield
Updated to refer to ZLIB::ZLIB, and with documentation tweak. Sam Thursfield (1): FindPNG: Create an imported PNG::PNG target Help/release/dev/FindPNG-imported-targets.rst | 4 +++ Modules/FindPNG.cmake | 50 +++ Tests/CMakeLists.txt

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

2016-01-19 Thread Sam Thursfield
Imported targets are now the recommended way of dealing with external library dependencies. The documentation for FindPNG is rewritten slightly. This commit also adds a test case, you can run it like this: cmake ... -DCMake_TEST_FindPNG=ON ctest -R FindPNG --output-on-failure The

[cmake-developers] [PATCH] FindALSA: Create an imported ALSA:ASound target

2016-01-19 Thread Sam Thursfield
Imported targets are now the recommended way of dealing with external library dependencies. The documentation for FindALSA is rewritten slightly. This commit also adds a test case, you can run it like this: cmake ... -DCMake_TEST_FindALSA=ON ctest -R FindALSA --output-on-failure The