zlib icon indicating copy to clipboard operation
zlib copied to clipboard

Feature/improve cmake

Open ClausKlein opened this issue 6 years ago • 13 comments

add option to build either shared or static lib

fix build problems on msys2 and conan

see https://github.com/bincrafters/community/issues/205 and https://github.com/conan-community/conan-zlib/issues/32

ClausKlein avatar Apr 07 '18 21:04 ClausKlein

I had to make this minor change to build on Android: https://github.com/albrematt/zlib/commit/130e7b08ea3f108909b0b688cd4befec29e1dbbe

Before this change I would get the following compiler error: error: unknown type name 'z_size_t'

mattparks avatar Dec 06 '19 17:12 mattparks

Are there any plans to merge this PR? I would certainly find it helpful so that I can fetch zlib via FetchContent.

puneetmatharu avatar Oct 25 '22 16:10 puneetmatharu

There are a lot of:

CMake PRs:

  • https://github.com/madler/zlib/pulls?q=is%3Apr+is%3Aopen+cmake

CMake Issues:

  • https://github.com/madler/zlib/issues?q=is%3Aissue+is%3Aopen+cmake

Neustradamus avatar Oct 26 '22 05:10 Neustradamus

True. I thought I'd prod just in case it might lead to these changes pushed through.

It's not a problem anymore though, I've made my own fork with the changes I require. Thanks!

puneetmatharu avatar Oct 26 '22 09:10 puneetmatharu

These commits are out of date.

madler avatar Aug 19 '23 18:08 madler

@madler: @ClausKlein has done an update since 2018:

  • https://github.com/madler/zlib/pull/347/commits

Neustradamus avatar Aug 20 '23 00:08 Neustradamus

@Neustradamus This is #347.

madler avatar Aug 20 '23 02:08 madler

@madler: Yes it has been recently updated

Neustradamus avatar Aug 20 '23 02:08 Neustradamus

@Neustradamus My comment was hours ago, and so was referring to the most recent updates.

madler avatar Aug 20 '23 03:08 madler

@madler: Sorry!

@ClausKlein: Can you look?

Neustradamus avatar Aug 20 '23 03:08 Neustradamus

These commits are out of date.

Sorry, I have rebased with current develop now.

ClausKlein avatar Aug 20 '23 06:08 ClausKlein

@ClausKlein: Thanks :)

@madler: It is good?

Neustradamus avatar Aug 20 '23 13:08 Neustradamus

@madler: Can you look this updated PR?

Neustradamus avatar Jan 18 '24 11:01 Neustradamus

Can this be merged?

tritao avatar Aug 12 '24 11:08 tritao