[PR #1251] Add cmake targets to installation #1817

Open
opened 2026-01-29 20:55:57 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/1251
Author: @bmarques1995
Created: 2/6/2025
Status: 🔄 Open

Base: masterHead: master


📝 Commits (3)

  • 7a596b8 Add cmake targets to installation
  • a3fa106 Merge branch 'master' into master
  • 19c7ef7 Merge branch 'master' into master

📊 Changes

2 files changed (+33 additions, -1 deletions)

View changed files

📝 CMakeLists.txt (+30 -1)
cmake/config.cmake.in (+3 -0)

📄 Description

This PR is to add cmake package targets, with them is possible to:

find_package(brotli)

target_link_libraries(<TARGET_NAME> <LINK_MODE> brotli::brotlienc)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/google/brotli/pull/1251 **Author:** [@bmarques1995](https://github.com/bmarques1995) **Created:** 2/6/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`7a596b8`](https://github.com/google/brotli/commit/7a596b8b648a552d533c00f76359c8444df96c5e) Add cmake targets to installation - [`a3fa106`](https://github.com/google/brotli/commit/a3fa106ec7266fd609ae7389318ab71e592b8660) Merge branch 'master' into master - [`19c7ef7`](https://github.com/google/brotli/commit/19c7ef778d1192afd7099817b64bbb8785c84e23) Merge branch 'master' into master ### 📊 Changes **2 files changed** (+33 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+30 -1) ➕ `cmake/config.cmake.in` (+3 -0) </details> ### 📄 Description This PR is to add cmake package targets, with them is possible to: `find_package(brotli)` `target_link_libraries(<TARGET_NAME> <LINK_MODE> brotli::brotlienc)` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 20:55:57 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1817