mirror of
https://github.com/google/brotli.git
synced 2026-09-24 15:46:13 +00:00
[PR #704] [MERGED] Fix auto detect of bundled mode #1349
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/704
Author: @jibsen
Created: 8/28/2018
Status: ✅ Merged
Merged: 9/13/2018
Merged by: @eustas
Base:
master← Head:fix-cmake-bundled📝 Commits (1)
803915fFix auto detect of bundled mode📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
CMakeLists.txt(+3 -3)📄 Description
Set bundled mode to ON when parent directory is not empty.
This likely never became an issue due to the (strange) way if works in CMake; if you compare an undefined variable to the empty string the result is false. So the code to set BROTLI_BUNDLED_MODE never ran, and the uses later in the file are as boolean values, where undefined is false.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.