List Archive

Thread

Thread Index

Message

From: "Lubomir I. Ivanov" <neolit123%gmail.com@localhost>
To: Thomas Klausner <tk%giga.or.at@localhost>
Subject: Re: Setting zlib path when compiling on Windows
Date: Tue, 3 Oct 2017 15:52:49 +0300

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?

lubomir
--

Made by MHonArc.