[PR #931] [MERGED] Suppress cmake's CMP0048 warning #1506

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

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/931
Author: @the-moisrex
Created: 10/10/2021
Status: Merged
Merged: 12/15/2021
Merged by: @eustas

Base: masterHead: master


📝 Commits (2)

  • 00bfb4c Supress cmake warning
  • 093e9ea Merge pull request #1 from the-moisrex/cmake-policy

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 CMakeLists.txt (+5 -0)

📄 Description

Not providing VERSION to "project" command will cause a warning.

Since this project's version is loaded from other files, this policy will help suppress the warning generated by cmake.
This policy is set because we can't provide "VERSION" in "project" command.
Use cmake --help-policy CMP0048 for more information


🔄 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/931 **Author:** [@the-moisrex](https://github.com/the-moisrex) **Created:** 10/10/2021 **Status:** ✅ Merged **Merged:** 12/15/2021 **Merged by:** [@eustas](https://github.com/eustas) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`00bfb4c`](https://github.com/google/brotli/commit/00bfb4c9d0ace36b94931e36fa1bd659ea0d41e3) Supress cmake warning - [`093e9ea`](https://github.com/google/brotli/commit/093e9ea8f78e1183049e8fb1af1366c9c4a8bf47) Merge pull request #1 from the-moisrex/cmake-policy ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+5 -0) </details> ### 📄 Description Not providing VERSION to "project" command will cause a warning. Since this project's version is loaded from other files, this policy will help suppress the warning generated by cmake. This policy is set because we can't provide "VERSION" in "project" command. Use cmake --help-policy CMP0048 for more information --- <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:54:27 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1506