]> git.ipfire.org Git - thirdparty/libarchive.git/commit
CMake: Replace CMAKE_COMPILER_IS_GNUCC with CMAKE_C_COMPILER_ID (#2550)
authorPeter Kokot <peterkokot@gmail.com>
Sat, 22 Mar 2025 21:21:38 +0000 (22:21 +0100)
committerGitHub <noreply@github.com>
Sat, 22 Mar 2025 21:21:38 +0000 (14:21 -0700)
commit2c2266432f1b0bf7be918f354140a6ba4a87a04c
treeea9db8b675f56240437d703e851567d495e8876b
parentf8a34abfbb284f5d5bdd254e4fec52979453b0fa
CMake: Replace CMAKE_COMPILER_IS_GNUCC with CMAKE_C_COMPILER_ID (#2550)

Hello,

- The `CMAKE_COMPILER_IS_*` variables are deprecated and
`CMAKE_C_COMPILER_ID` can be used in this case instead.
- The legacy `endif()` command argument also simplified to avoid
repeating the condition.
build/cmake/LibarchiveCodeCoverage.cmake