Skip to content

cmake: drop redundant zlib var, rename function (internals) - #14918

Closed
vszakats wants to merge 2 commits into
curl:masterfrom
vszakats:cm-zlib-tidy
Closed

cmake: drop redundant zlib var, rename function (internals)#14918
vszakats wants to merge 2 commits into
curl:masterfrom
vszakats:cm-zlib-tidy

Conversation

@vszakats

@vszakats vszakats commented Sep 15, 2024

Copy link
Copy Markdown
Member
  • drop redundant internal variable USE_ZLIB, rely on HAVE_LIBZ.

  • rename optional_dependency()curl_dependency_option()
    Make grep 'option(' hit this option. Namespaced.
    It has a single use with ZLIB.

@github-actions github-actions Bot added the build label Sep 15, 2024
@vszakats vszakats closed this in abf737b Sep 19, 2024
@vszakats
vszakats deleted the cm-zlib-tidy branch September 19, 2024 11:03
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
- drop redundant internal variable `USE_ZLIB`, rely on `HAVE_LIBZ`.

- rename `optional_dependency()` -> `curl_dependency_option()`
  Make `grep 'option('` hit this option. Namespaced.
  It has a single use with `ZLIB`.

Closes curl#14918
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant