List Archive

Thread

Thread Index

Message

From: Andreas Falkenhahn <andreas%falkenhahn.com@localhost>
To: "Lubomir I. Ivanov" <neolit123%gmail.com@localhost>
Subject: Re: Setting zlib path when compiling on Windows
Date: Tue, 3 Oct 2017 14:57:49 +0200

On 03.10.2017 at 14:52 Lubomir I. Ivanov wrote:

> On 3 October 2017 at 15:00, Thomas Klausner <tk%giga.or.at@localhost> wrote:

>> On Tue, Oct 03, 2017 at 01:59:30PM +0200, Andreas Falkenhahn wrote:
>>> On 03.10.2017 at 13:48 Thomas Klausner wrote:

>>> > On Tue, Oct 03, 2017 at 01:37:03PM +0200, Andreas Falkenhahn wrote:
>>> >> Thanks, using absolute paths seems to solve the problem of CMake not 
>>> >> finding zlib.
>>> >> But now there's a new problem: Libzip now complains about being unable 
>>> >> to find
>>> >> zconf.h which is obvious because zconf.h is of course in a 
>>> >> target-dependent
>>> >> directory since I'm doing out-of-tree builds.

>>> > Well, you should do the equivalent of 'make install' then the header
>>> > files will be in the same directory.

>>> And what is that equivalent with CMake on Windows? :-)

>> I don't know. "copy"? :)

> Andreas, i think Tomas has a point.
> if you don't have a zconf.h in the root zlib directory, can you try
> coping it from the build directory to the root directory?

That will work of course but it defies the idea of out-of-tree builds.

-- 
Best regards,
 Andreas Falkenhahn                            
mailto:andreas%falkenhahn.com@localhost

Made by MHonArc.