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 2010/06/13 22:44:03 wiz Exp $ --- Modules/FindPNG.cmake.orig 2010-04-06 14:45:31.000000000 +0000 +++ Modules/FindPNG.cmake @@ -33,7 +33,7 @@ if(ZLIB_FOUND) /usr/local/include/libpng # OpenBSD ) - set(PNG_NAMES ${PNG_NAMES} png libpng png12 libpng12) + set(PNG_NAMES ${PNG_NAMES} png libpng png12 libpng12 png14 libpng14) find_library(PNG_LIBRARY NAMES ${PNG_NAMES} ) if (PNG_LIBRARY AND PNG_PNG_INCLUDE_DIR)
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake