Skip to content

Make the rename of zconf a CMake option#519

Closed
Togtja wants to merge 2 commits intomadler:developfrom
Togtja:optional_zconf_rename
Closed

Make the rename of zconf a CMake option#519
Togtja wants to merge 2 commits intomadler:developfrom
Togtja:optional_zconf_rename

Conversation

@Togtja
Copy link
Copy Markdown
Contributor

@Togtja Togtja commented Aug 24, 2020

I at least, found it annoying that the source zconf.h get renamed when I don't need it too.
Especially while using git submodules, and it says that I have made changes that I need to commit, because of the rename.

@joeyparrish
Copy link
Copy Markdown

I have the same issue. @madler, could you please review and merge?

@joeyparrish
Copy link
Copy Markdown

@madler, would you please look at this when you have time? We are currently forced to use a fork of zlib because of CMake issues like this.

joeyparrish added a commit to joeyparrish/zlib that referenced this pull request Nov 9, 2022
It has to be regenerated anyway, either through configure or CMake.
Having it in the repo means that the CMake build will rename it,
dirtying the repo when used as a submodule.

A simpler alternative to madler#519
@joeyparrish
Copy link
Copy Markdown

Opened #740 as an alternative fix.

@joeyparrish
Copy link
Copy Markdown

@madler, could we please have feedback on this, or the alternative in #740?

@Neustradamus Neustradamus mentioned this pull request Aug 20, 2023
@madler
Copy link
Copy Markdown
Owner

madler commented Jan 23, 2024

Incorporated.

@madler madler closed this Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants