]> 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)
committerMartin Matuska <martin@matuska.de>
Sun, 30 Mar 2025 19:15:59 +0000 (21:15 +0200)
commitaf51e308b24d4466d5222bcd3c25b6aad58795d6
treea4496c8c7c2223f6f0962fb6837a7bf194aeedd4
parente31747775b9182d7e08c0ab5115c6861703a5efa
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.

(cherry picked from commit 2c2266432f1b0bf7be918f354140a6ba4a87a04c)
build/cmake/LibarchiveCodeCoverage.cmake