[PR #653] [MERGED] Tell CMake to not check for a C++ compiler #1301

Closed
opened 2026-01-29 20:53:25 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/653
Author: @aperezdc
Created: 3/26/2018
Status: Merged
Merged: 3/26/2018
Merged by: @eustas

Base: masterHead: no-cxx-check


📝 Commits (1)

  • b1128c9 Tell CMake to not check for a C++ compiler

📊 Changes

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

View changed files

📝 CMakeLists.txt (+1 -1)

📄 Description

By default CMake checks both for C and C++ compilers, while the latter is not needed. Setting the list of languages to just C in the call to project() removes the unneeded check.


🔄 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/653 **Author:** [@aperezdc](https://github.com/aperezdc) **Created:** 3/26/2018 **Status:** ✅ Merged **Merged:** 3/26/2018 **Merged by:** [@eustas](https://github.com/eustas) **Base:** `master` ← **Head:** `no-cxx-check` --- ### 📝 Commits (1) - [`b1128c9`](https://github.com/google/brotli/commit/b1128c9f3d77954e6480ab5654c1907c645946e9) Tell CMake to not check for a C++ compiler ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+1 -1) </details> ### 📄 Description By default CMake checks both for C and C++ compilers, while the latter is not needed. Setting the list of languages to just `C` in the call to `project()` removes the unneeded check. --- <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:53:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1301