[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

Re: [CMake] Creating some kind of release target

2007-03-02 Thread Thomas Klausner
On Thu, Mar 01, 2007 at 08:04:12AM -0800, Alan W. Irwin wrote: Both source and binary releases are possible with the companion cpack programme which you can configure via cmake. For fundamental information see http://www.cmake.org/Wiki/CMake:Packaging_With_CPack. For a working example, see

[CMake] autoconf AC_REPLACE_FUNCS replacement for CMake

2007-03-02 Thread Thomas Klausner
Hi! In autoconf there's a useful macro: AC_REPLACE_FUNCS. It's called like: AC_REPLACE_FUNCS([fct1 fct2...]) It tests for the existence of the arguments, and if they are missing, adds fct1.c (etc.) to the sources used for building. I wrote a replacement macro for CMake:

Re: [CMake] Creating some kind of release target

2007-03-02 Thread Thomas Klausner
On Fri, Mar 02, 2007 at 01:45:08PM +0100, Ch.Ehrlicher wrote: Use out-of source build - there is no other way because the buildsystem does not know what files are created during the build. Well, if I could specify what files I want to include in the source package, I wouldn't care about any

[CMake] Building cmake-2.4.6 against xmlrpc-c-1.09.00

2007-02-26 Thread Thomas Klausner
Hi! I'm trying to make the cmake-2.4.6 package in pkgsrc depend on the xmlrpc-c-1.09.00 package. I already managed to make cmake depend on pre-installed curl, expat, and zlib libraries. The problem I see with xmlrpc-c is that cmake says: CMake Error: XMLRPC was not found. Make sure the

[CMake] How to detect socklen_t?

2007-02-26 Thread Thomas Klausner
Hi! What's the proper way to check for the existence of socklen_t? I tried using CHECK_SYMBOL_EXISTS(socklen_t sys/types.h;sys/socket.h HAVE_SOCKLEN_T) but the compilers on at least Linux and Irix don't like cmakeRequireSymbol(0,socklen_t); CHECK_TYPE_SIZE looks like a possible

Re: [CMake] Building cmake-2.4.6 against xmlrpc-c-1.09.00

2007-02-26 Thread Thomas Klausner
On Tue, Feb 27, 2007 at 12:50:30AM +0500, Andrey Rahmatullin wrote: http://www.cmake.org/Bug/bug.php?op=showbugid=4123pos=3 ? Thank you, that patch solved my problem. Thomas ___ CMake mailing list CMake@cmake.org