Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: drop redundant FOUND checks (libgsasl, libssh, libuv) #15465

Closed
wants to merge 1 commit into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Oct 31, 2024

With find_package(... REQUIRED) the configuration fails and exits
if the package is not found. The ..._FOUND check afterwards always
evaluates true and safe to delete.

Also true for brotli and zstd, but those are addressed differently
via #15431.


w/o whitespace: https://github.com/curl/curl/pull/15465/files?w=1

With `find_package(... REQUIRED)` the configuration fails and exits
if the package is not found. The `..._FOUND` check afterwards always
evaluates true and safe to delete.

Also true for brotli and zstd, but those are addressed differently
via curl#15431.
@github-actions github-actions bot added the build label Oct 31, 2024
@vszakats vszakats changed the title cmake: drop redundant FOUND checks cmake: drop redundant FOUND checks (libssh, libuv) Dec 16, 2024
@vszakats vszakats changed the title cmake: drop redundant FOUND checks (libssh, libuv) cmake: drop redundant FOUND checks (libgsasl, libssh, libuv) Dec 16, 2024
@vszakats vszakats closed this in 05ba353 Dec 16, 2024
@vszakats vszakats deleted the cm-drop-idle-ifs branch December 18, 2024 23:53
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