Skip to content

CMake: Replace CMAKE_COMPILER_IS_GNUCXX with CMAKE_CXX_COMPILER_ID#4951

Open
petk wants to merge 1 commit into
google:mainfrom
petk:patch-CMAKE_COMPILER_IS_GNUCXX
Open

CMake: Replace CMAKE_COMPILER_IS_GNUCXX with CMAKE_CXX_COMPILER_ID#4951
petk wants to merge 1 commit into
google:mainfrom
petk:patch-CMAKE_COMPILER_IS_GNUCXX

Conversation

@petk
Copy link
Copy Markdown

@petk petk commented Apr 4, 2026

CMAKE_COMPILER_IS_GNUCXX is obsolete variable and can be replaced with CMAKE_CXX_COMPILER_ID (also available since early CMake versions).

In the past CMake versions also LCC and QCC compilers had this variable set to boolean true but these aren't relevant here.

CMAKE_COMPILER_IS_GNUCXX is obsolete variable and can be replaced with
CMAKE_CXX_COMPILER_ID (also available since early CMake versions).

In the past CMake versions also LCC and QCC compilers had this variable
set to boolean true but these aren't relevant here.
@google-cla
Copy link
Copy Markdown

google-cla Bot commented Apr 4, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link
Copy Markdown

@ameerabuhadwan94-tech ameerabuhadwan94-tech left a comment

Choose a reason for hiding this comment

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

Startup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants