Skip to content

CMake: Replace CMAKE_COMPILER_IS_GNUCC with CMAKE_C_COMPILER_ID#965

Merged
LDVG merged 1 commit into
Yubico:mainfrom
petk:patch-CMAKE_COMPILER_IS_GNUCC
Apr 7, 2026
Merged

CMake: Replace CMAKE_COMPILER_IS_GNUCC with CMAKE_C_COMPILER_ID#965
LDVG merged 1 commit into
Yubico:mainfrom
petk:patch-CMAKE_COMPILER_IS_GNUCC

Conversation

@petk
Copy link
Copy Markdown
Contributor

@petk petk commented Apr 4, 2026

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

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

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

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

@LDVG LDVG left a comment

Choose a reason for hiding this comment

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

Thanks!

@LDVG LDVG merged commit 3286204 into Yubico:main Apr 7, 2026
41 checks passed
@petk petk deleted the patch-CMAKE_COMPILER_IS_GNUCC branch April 7, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants