Re: [CMake] [patch] cmake-2.8.1 and png-1.4.2

2010-06-22 Thread Michael Hertling
On 06/20/2010 12:34 AM, Thomas Klausner wrote: Hi! I've updated png in pkgsrc to 1.4.2 and had to fix some programs to compile against that version. cmake didn't find the png library at all, since it was renamed There is rather a new version with a different SONAME. (again). The

Re: [CMake] [patch] cmake-2.8.1 and png-1.4.2

2010-06-21 Thread James Bigler
On Sat, Jun 19, 2010 at 4:34 PM, Thomas Klausner t...@giga.or.at wrote: cmake didn't find the png library at all, since it was renamed (again). The attached patch fixes the problem, please include it in the next release. Would a wild-card feature for the FIND_XXX functions be useful in your

[CMake] [patch] cmake-2.8.1 and png-1.4.2

2010-06-19 Thread Thomas Klausner
Hi! I've updated png in pkgsrc to 1.4.2 and had to fix some programs to compile against that version. cmake didn't find the png library at all, since it was renamed (again). The attached patch fixes the problem, please include it in the next release. Thanks, Thomas $NetBSD: patch-ad,v 1.7