Skip to content

Stop CMake from quietly ignoring missing Brotli - #11376

Closed
MichalPetryka wants to merge 1 commit into
curl:masterfrom
MichalPetryka:patch-1
Closed

MichalPetryka wants to merge 1 commit into
curl:masterfrom
MichalPetryka:patch-1

Conversation

@MichalPetryka

Copy link
Copy Markdown
Contributor

For some reason the CMake project was set to QUIET for Brotli instead of REQUIRED. This makes builds unexpectedly ignore missing Brotli even when CURL_BROTLI is enabled.

For some reason the CMake project was set to `QUIET` for Brotli instead of `REQUIRED`. This makes builds unexpectedly ignore missing Brotli even when `CURL_BROTLI` is enabled.
@MichalPetryka

Copy link
Copy Markdown
Contributor Author

Discovered in microsoft/vcpkg#32108.

@bagder bagder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds reasonable to me!

@bagder

bagder commented Jun 23, 2023

Copy link
Copy Markdown
Member

Thanks!

@bagder bagder closed this in 4e115a1 Jun 23, 2023
@MichalPetryka
MichalPetryka deleted the patch-1 branch June 24, 2023 13:39
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
The CMake project was set to `QUIET` for Brotli instead of
`REQUIRED`. This makes builds unexpectedly ignore missing Brotli even
when `CURL_BROTLI` is enabled.

Closes curl#11376
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
The CMake project was set to `QUIET` for Brotli instead of
`REQUIRED`. This makes builds unexpectedly ignore missing Brotli even
when `CURL_BROTLI` is enabled.

Closes curl#11376
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.

2 participants